]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: VMX: do not check bit 12 of EPT violation exit qualification when undefined
authorGleb Natapov <gleb@redhat.com>
Wed, 25 Sep 2013 07:58:22 +0000 (10:58 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 Sep 2013 09:38:26 +0000 (11:38 +0200)
commitbcd1c2949501869631b25fd62d8df5079677a101
treee046939cadad578c7334206f534e15654e80226f
parentac570e0493815e0b41681c89cb50d66421429d27
KVM: VMX: do not check bit 12 of EPT violation exit qualification when undefined

Bit 12 is undefined in any of the following cases:
- If the "NMI exiting" VM-execution control is 1 and the "virtual NMIs"
  VM-execution control is 0.
- If the VM exit sets the valid bit in the IDT-vectoring information field

Signed-off-by: Gleb Natapov <gleb@redhat.com>
[Add parentheses around & within && - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c