KVM: VMX: Fix handling of a fault during NMI unblocked due to IRET
authorGleb Natapov <gleb@redhat.com>
Mon, 30 Mar 2009 13:03:08 +0000 (16:03 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:36 +0000 (11:48 +0300)
commit7b4a25cb296e2a73d2e87a4af65361d45d450a27
tree676e601fd5e518174b5179cfe99d8668ff4abff4
parent20c466b56168ddccf034c136510d73e4a0e18605
KVM: VMX: Fix handling of a fault during NMI unblocked due to IRET

Bit 12 is undefined in any of the following cases:
 If the VM exit sets the valid bit in the IDT-vectoring information field.
 If the VM exit is due to a double fault.

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