commit | 91661989d17ccec17bca199e7cb1f463ba4e5b78 | [log] [tgz] |
---|---|---|
author | Sean Christopherson <sean.j.christopherson@intel.com> | Mon Mar 02 15:57:06 2020 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 16 17:58:42 2020 +0100 |
tree | 29796048a49e02fd9bc772662fed62be1d0f23dd | |
parent | 600087b6146764999949b4a12ce5f7627602c33a [diff] |
KVM: x86: Move VMX's host_efer to common x86 code Move host_efer to common x86 code and use it for CPUID's is_efer_nx() to avoid constantly re-reading the MSR. No functional change intended. Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>