KVM: VMX: Support for NMI task gates
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 26 Sep 2008 07:30:47 +0000 (09:30 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:51:40 +0000 (16:51 +0200)
commit60637aacfd95c368e1fbc2157275d1b621b5dcdd
tree53abd0c0eaece938af0bd0f24715716a49f8d4e2
parente4a41889ece6c95f390a7fa3a94255ab62470968
KVM: VMX: Support for NMI task gates

Properly set GUEST_INTR_STATE_NMI and reset nmi_injected when a
task-switch vmexit happened due to a task gate being used for handling
NMIs. Also avoid the false warning about valid vectoring info in
kvm_handle_exit.

Based on original patch by Gleb Natapov.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c