]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: move vmcs12 EPTP consistency check to check_vmentry_prereqs()
authorSean Christopherson <sean.j.christopherson@intel.com>
Wed, 26 Sep 2018 16:23:40 +0000 (09:23 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Oct 2018 22:29:49 +0000 (00:29 +0200)
commit5d091f8401bc4746a71210d5d21e914d59b4a88c
treef06f7409504d2a588fc9d27291febe411127b7e4
parent24243c6526c3f4c2de815ae275063a789c82646d
KVM: nVMX: move vmcs12 EPTP consistency check to check_vmentry_prereqs()

An invalid EPTP causes a VMFail(VMXERR_ENTRY_INVALID_CONTROL_FIELD),
not a VMExit.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c