diff options
| author | Like Xu <[email protected]> | 2022-04-11 18:19:33 +0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-08 04:47:47 -0400 |
| commit | bef6ecca46ac938ffb352d7fa2f6eafd1b6a41be (patch) | |
| tree | 1575442eff2ef699248c9de76598ea920703ea7f /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 39a4d779546a993c53cea28e659e8edc9f868af0 (diff) | |
KVM: x86/pmu: Set MSR_IA32_MISC_ENABLE_EMON bit when vPMU is enabled
On Intel platforms, the software can use the IA32_MISC_ENABLE[7] bit to
detect whether the processor supports performance monitoring facility.
It depends on the PMU is enabled for the guest, and a software write
operation to this available bit will be ignored. The proposal to ignore
the toggle in KVM is the way to go and that behavior matches bare metal.
Signed-off-by: Like Xu <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions