commit | 7b874c26a62487acaf2e7e179715991c70db25db | [log] [tgz] |
---|---|---|
author | Sean Christopherson <sean.j.christopherson@intel.com> | Mon Mar 02 15:56:59 2020 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 16 17:58:37 2020 +0100 |
tree | 2e23226e45030fb34d5fc0d68c09f71ee954e396 | |
parent | a7a200eb4c698b70f60a1b8e4e2c6e1c3fcb982e [diff] |
KVM: x86: Check for Intel PT MSR virtualization using KVM cpu caps Use kvm_cpu_cap_has() to check for Intel PT when processing the list of virtualized MSRs to pave the way toward removing ->pt_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>