KVM: VMX: Fix handling of a fault during NMI unblocked due to IRET

From: Gleb Natapov
Date: Mon Mar 30 2009 - 09:03:08 EST


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@xxxxxxxxxx>
Signed-off-by: Avi Kivity <avi@xxxxxxxxxx>

and followed up by the code movement in