diff options
| author | Chenyi Qiang <[email protected]> | 2025-06-20 06:22:18 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2025-06-24 19:58:19 +0000 |
| commit | 0048ca5e9945f487fc055dad987ee4c7fdc1ed18 (patch) | |
| tree | 381791628353d1b29dd2f551caecf95a6b9d8be6 /net/unix/af_unix.c | |
| parent | KVM: Allow CPU to reschedule while setting per-page memory attributes (diff) | |
| download | kernel-0048ca5e9945f487fc055dad987ee4c7fdc1ed18.tar.gz kernel-0048ca5e9945f487fc055dad987ee4c7fdc1ed18.zip | |
KVM: selftests: Add back the missing check of MONITOR/MWAIT availability
The revamp of monitor/mwait test missed the original check of feature
availability [*]. If MONITOR/MWAIT is not supported or is disabled by
IA32_MISC_ENABLE on the host, executing MONITOR or MWAIT instruction
from guest doesn't cause monitor/mwait VM exits, but a #UD.
[*] https://lore.kernel.org/all/[email protected]/
Reported-by: Xuelian Guo <[email protected]>
Fixes: 80fd663590cf ("selftests: kvm: revamp MONITOR/MWAIT tests")
Signed-off-by: Chenyi Qiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
