diff options
author | Oliver Upton <[email protected]> | 2019-11-13 16:17:20 -0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2019-11-15 11:44:16 +0100 |
commit | 03a8871add95213827e2bea84c12133ae5df952e (patch) | |
tree | 82ece2a58415eff1046313609d419fd6cb46b703 /lib/mpi/mpi-inline.h | |
parent | 71f7347025bf10f5c0b48e149898df57b7f3d414 (diff) |
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 <[email protected]>
Co-developed-by: Krish Sadhukhan <[email protected]>
Signed-off-by: Krish Sadhukhan <[email protected]>
Signed-off-by: Oliver Upton <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Reviewed-by: Peter Shier <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions