diff options
| author | Zide Chen <[email protected]> | 2024-04-11 21:02:37 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2024-04-25 23:08:59 +0000 |
| commit | 72cd4de01d8b106182741132d5e0b61c3f55d636 (patch) | |
| tree | dd43f02b21bc9abe27fe3b8515f62511b5b879b3 /arch/powerpc/lib/code-patching.c | |
| parent | KVM: selftests: Compare wall time from xen shinfo against KVM_GET_CLOCK (diff) | |
| download | kernel-72cd4de01d8b106182741132d5e0b61c3f55d636.tar.gz kernel-72cd4de01d8b106182741132d5e0b61c3f55d636.zip | |
KVM: selftests: Make monitor_mwait require MONITOR/MWAIT feature
If this feature is not supported or is disabled by IA32_MISC_ENABLE on
the host, executing MONITOR or MWAIT instruction from the guest doesn't
cause monitor/mwait VM exits, but a #UD.
So, we need to skip this test if CPUID.01H:ECX[3] is cleared.
Signed-off-by: Zide Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
