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: bfbcc81b ("KVM: x86: Add a quirk for KVM's "MONITOR/MWAIT are NOPs!" behavior") Signed-off-by:Sean Christopherson <seanjc@google.com> Link: https://lore.kernel.org/r/20220711225753.1073989-4-seanjc@google.com
Showing
- Documentation/virt/kvm/api.rst 1 addition, 1 deletionDocumentation/virt/kvm/api.rst
- arch/x86/include/asm/kvm_host.h 1 addition, 1 deletionarch/x86/include/asm/kvm_host.h
- arch/x86/include/uapi/asm/kvm.h 1 addition, 1 deletionarch/x86/include/uapi/asm/kvm.h
- arch/x86/kvm/x86.c 1 addition, 1 deletionarch/x86/kvm/x86.c
- tools/testing/selftests/kvm/x86_64/monitor_mwait_test.c 1 addition, 1 deletiontools/testing/selftests/kvm/x86_64/monitor_mwait_test.c
Loading