]> git.baikalelectronics.ru Git - kernel.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)
commit7130b9e8ce4493f45721db2e8379d3674d183505
treee046939cadad578c7334206f534e15654e80226f
parentb58b515f915f7fbc38d798000cf47cd8cf31e58c
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