diff options
author | Oliver Upton <[email protected]> | 2019-11-13 16:17:16 -0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2019-11-15 11:44:13 +0100 |
commit | bfc6ad6ab3563b4151bbcfe162c612930a3e0854 (patch) | |
tree | 27639d937dfb38ed2e91191ba3ded0d4768f2127 /lib/mpi/mpi-cmp.c | |
parent | 9477f4449b0b011ce1d058c09ec450bfcdaab784 (diff) |
KVM: nVMX: Check GUEST_IA32_PERF_GLOBAL_CTRL on VM-Entry
Add condition to nested_vmx_check_guest_state() to check the validity of
GUEST_IA32_PERF_GLOBAL_CTRL. Per Intel's SDM Vol 3 26.3.1.1:
If the "load IA32_PERF_GLOBAL_CTRL" VM-entry control is 1, bits
reserved in the IA32_PERF_GLOBAL_CTRL MSR must be 0 in the field for that
register.
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-cmp.c')
0 files changed, 0 insertions, 0 deletions