diff options
author | Maxim Levitsky <[email protected]> | 2020-05-23 19:14:55 +0300 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2020-05-27 13:08:19 -0400 |
commit | f4cfcd2d5aea4e96c5d483c476f3057b6b7baf6a (patch) | |
tree | 00a54177bb0e4c8721a4db2ffe0fdeb679108f7e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0abcc8f65cc23b65bc8d1614cc64b02b1641ed7c (diff) |
KVM: x86: don't expose MSR_IA32_UMWAIT_CONTROL unconditionally
This msr is only available when the host supports WAITPKG feature.
This breaks a nested guest, if the L1 hypervisor is set to ignore
unknown msrs, because the only other safety check that the
kernel does is that it attempts to read the msr and
rejects it if it gets an exception.
Cc: [email protected]
Fixes: 6e3ba4abce ("KVM: vmx: Emulate MSR IA32_UMWAIT_CONTROL")
Signed-off-by: Maxim Levitsky <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions