diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-25 19:33:53 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-25 20:22:33 +0300 |
commit | fd3edd4a9066f28de99a16685a586d68a9f551f8 (patch) | |
tree | 295565b14056307d08674bdcc0db9b1b0d8ace92 /include/uapi/linux/kvm.h | |
parent | cab01850277a827c57270bba48be1d8fe312643d (diff) | |
download | linux-fd3edd4a9066f28de99a16685a586d68a9f551f8.tar.xz |
KVM: nVMX: cleanup and fix host 64-bit mode checks
KVM was incorrectly checking vmcs12->host_ia32_efer even if the "load
IA32_EFER" exit control was reset. Also, some checks were not using
the new CC macro for tracing.
Cleanup everything so that the vCPU's 64-bit mode is determined
directly from EFER_LMA and the VMCS checks are based on that, which
matches section 26.2.4 of the SDM.
Cc: Sean Christopherson <sean.j.christopherson@intel.com>
Cc: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Fixes: 5845038c111db27902bc220a4f70070fe945871c
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/uapi/linux/kvm.h')
0 files changed, 0 insertions, 0 deletions