]> 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)
commit7cd87e1bf2b20d4659d166128429993b9d9c15d4
treeee3716094c90e25aba80732652debd24d14a4424
parentc3f9563f82273e356a37a498384bb739eb6b8bb3
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