]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Directly use VMX capabilities helper to detect RDTSCP support
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 2 Mar 2020 23:56:58 +0000 (15:56 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:58:36 +0000 (17:58 +0100)
commit0f52002c08fa8f2db83e5151aa4ecde359130e21
treeee3716094c90e25aba80732652debd24d14a4424
parentf816f1414e6a2a7f8bbecdc90a0962ca7a290d84
KVM: VMX: Directly use VMX capabilities helper to detect RDTSCP support

Use cpu_has_vmx_rdtscp() directly when computing secondary exec controls
and drop the now defunct vmx_rdtscp_supported().

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>
arch/x86/kvm/vmx/vmx.c