diff options
author | 2019-11-13 16:17:20 -0800 | |
---|---|---|
committer | 2019-11-15 11:44:16 +0100 | |
commit | 03a8871add95213827e2bea84c12133ae5df952e (patch) | |
tree | 82ece2a58415eff1046313609d419fd6cb46b703 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: nVMX: Load GUEST_IA32_PERF_GLOBAL_CTRL MSR on VM-Entry (diff) | |
download | linux-dev-03a8871add95213827e2bea84c12133ae5df952e.tar.xz linux-dev-03a8871add95213827e2bea84c12133ae5df952e.zip |
KVM: nVMX: Expose load IA32_PERF_GLOBAL_CTRL VM-{Entry,Exit} control
The "load IA32_PERF_GLOBAL_CTRL" bit for VM-entry and VM-exit should
only be exposed to the guest if IA32_PERF_GLOBAL_CTRL is a valid MSR.
Create a new helper to allow pmu_refresh() to update the VM-Entry and
VM-Exit controls to ensure PMU values are initialized when performing
the is_valid_msr() check.
Suggested-by: Jim Mattson <jmattson@google.com>
Co-developed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Signed-off-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Signed-off-by: Oliver Upton <oupton@google.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Peter Shier <pshier@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions