]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Push potential exception error code on task switches
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 14 Apr 2010 13:51:09 +0000 (15:51 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:17:46 +0000 (12:17 +0300)
commit4ef153a05af341db64330e790cfdfe37b73ebeaf
tree627c658efaec155d1f295d1fc7b8abded9d4f861
parentff46a63dde52cdf86d40df920b9fc30d5988b68d
KVM: x86: Push potential exception error code on task switches

When a fault triggers a task switch, the error code, if existent, has to
be pushed on the new task's stack. Implement the missing bits.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/include/asm/kvm_host.h
arch/x86/include/asm/svm.h
arch/x86/kvm/emulate.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c