diff options
| author | Sean Christopherson <[email protected]> | 2020-03-02 15:56:26 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-03-16 17:58:11 +0100 |
| commit | 7392079c4e740572a5af72a7223ef5e162e442c9 (patch) | |
| tree | 69bdea208fcc16adee95d2e44689a233692b744e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 615a4ae1c74c2997f19189412fae0326baaf1bff (diff) | |
KVM: x86: Clear output regs for CPUID 0x14 if PT isn't exposed to guest
Clear the output regs for the main CPUID 0x14 leaf (index=0) if Intel PT
isn't exposed to the guest. Leaf 0x14 enumerates Intel PT capabilities
and should return zeroes if PT is not supported. Incorrectly reporting
PT capabilities is essentially a cosmetic error, i.e. doesn't negatively
affect any known userspace/kernel, as the existence of PT itself is
correctly enumerated via CPUID 0x7.
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions