aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-09-25 18:33:53 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-09-25 19:22:33 +0200
commitfd3edd4a9066f28de99a16685a586d68a9f551f8 (patch)
tree295565b14056307d08674bdcc0db9b1b0d8ace92 /kernel
parentKVM: vmx: fix build warnings in hv_enable_direct_tlbflush() on i386 (diff)
downloadlinux-dev-fd3edd4a9066f28de99a16685a586d68a9f551f8.tar.xz
linux-dev-fd3edd4a9066f28de99a16685a586d68a9f551f8.zip
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 'kernel')
0 files changed, 0 insertions, 0 deletions