diff options
author | Chenyi Qiang <chenyi.qiang@intel.com> | 2025-06-20 14:22:18 +0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-06-24 12:58:19 -0700 |
commit | 0048ca5e9945f487fc055dad987ee4c7fdc1ed18 (patch) | |
tree | 381791628353d1b29dd2f551caecf95a6b9d8be6 /net/lapb/lapb_timer.c | |
parent | 47bb584237cc285e3a860b70c01f7bda9dcfb05b (diff) |
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/20240411210237.34646-1-zide.chen@intel.com/
Reported-by: Xuelian Guo <xuelian.guo@intel.com>
Fixes: 80fd663590cf ("selftests: kvm: revamp MONITOR/MWAIT tests")
Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
Link: https://lore.kernel.org/r/20250620062219.342930-1-chenyi.qiang@intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions