aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVitaly Kuznetsov <[email protected]>2021-03-29 14:48:04 +0200
committerPaolo Bonzini <[email protected]>2021-04-17 08:30:53 -0400
commitc28fa560c5bb4a58b362622beb0ca8479a480636 (patch)
treefdbb61a5e6432e7bd4654bed899b09e9003fe72b /tools/perf/scripts/python
parent9a7de6ecc3ed80efb95fe1d97b6440922e55dbda (diff)
KVM: x86/vPMU: Forbid reading from MSR_F15H_PERF MSRs when guest doesn't have X86_FEATURE_PERFCTR_CORE
MSR_F15H_PERF_CTL0-5, MSR_F15H_PERF_CTR0-5 MSRs have a CPUID bit assigned to them (X86_FEATURE_PERFCTR_CORE) and when it wasn't exposed to the guest the correct behavior is to inject #GP an not just return zero. Signed-off-by: Vitaly Kuznetsov <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions