Re: [PATCH] KVM: selftests: Add back the missing check of MONITOR/MWAIT availability

From: Sean Christopherson
Date: Wed Jun 25 2025 - 18:26:13 EST


On Fri, 20 Jun 2025 14:22:18 +0800, Chenyi Qiang wrote:
> 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@xxxxxxxxx/
>
> [...]

Applied to kvm-x86 fixes, thanks!

[1/1] KVM: selftests: Add back the missing check of MONITOR/MWAIT availability
https://github.com/kvm-x86/linux/commit/0048ca5e9945

--
https://github.com/kvm-x86/kvm-unit-tests/tree/next