]> Git Repo - linux.git/commit
KVM: x86: Tweak name of MONITOR/MWAIT #UD quirk to make it #UD specific
authorSean Christopherson <[email protected]>
Mon, 11 Jul 2022 22:57:53 +0000 (22:57 +0000)
committerSean Christopherson <[email protected]>
Thu, 14 Jul 2022 01:14:05 +0000 (18:14 -0700)
commit43bb9e000ea4c62154c01844771fea25b8b83520
treefd47e7a827c627d90d41850964b2708a2554ca9d
parent14fd95bf145ddb8201406b89c83faf24e7e3d52f
KVM: x86: Tweak name of MONITOR/MWAIT #UD quirk to make it #UD specific

Add a "UD" clause to KVM_X86_QUIRK_MWAIT_NEVER_FAULTS to make it clear
that the quirk only controls the #UD behavior of MONITOR/MWAIT.  KVM
doesn't currently enforce fault checks when MONITOR/MWAIT are supported,
but that could change in the future.  SVM also has a virtualization hole
in that it checks all faults before intercepts, and so "never faults" is
already a lie when running on SVM.

Fixes: bfbcc81bb82c ("KVM: x86: Add a quirk for KVM's "MONITOR/MWAIT are NOPs!" behavior")
Signed-off-by: Sean Christopherson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Documentation/virt/kvm/api.rst
arch/x86/include/asm/kvm_host.h
arch/x86/include/uapi/asm/kvm.h
arch/x86/kvm/x86.c
tools/testing/selftests/kvm/x86_64/monitor_mwait_test.c
This page took 0.068645 seconds and 4 git commands to generate.