linux/tools/testing/selftests/kvm/x86_64
Sean Christopherson 43bb9e000e 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: bfbcc81bb8 ("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
2022-07-13 18:14:05 -07:00
..
amx_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
cpuid_test.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
cr4_cpuid_sync_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
debug_regs.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
emulator_error_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
evmcs_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
fix_hypercall_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
get_msr_index_features.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
hyperv_clock.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
hyperv_cpuid.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
hyperv_features.c KVM: selftests: Use exception fixup for #UD/#GP Hyper-V MSR/hcall tests 2022-06-20 12:26:03 -04:00
hyperv_svm_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
kvm_clock_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
kvm_pv_test.c KVM: selftests: Add x86-64 support for exception fixup 2022-06-20 11:50:57 -04:00
max_vcpuid_cap_test.c KVM: selftests: Rename vm_create() => vm_create_barebones(), drop param 2022-06-11 11:46:33 -04:00
mmio_warning_test.c KVM: selftests: Sanity check input to ioctls() at build time 2022-06-11 11:48:09 -04:00
mmu_role_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
monitor_mwait_test.c KVM: x86: Tweak name of MONITOR/MWAIT #UD quirk to make it #UD specific 2022-07-13 18:14:05 -07:00
nx_huge_pages_test.c KVM: selftests: Test disabling NX hugepages on a VM 2022-06-24 04:51:51 -04:00
nx_huge_pages_test.sh KVM: selftests: Test disabling NX hugepages on a VM 2022-06-24 04:51:51 -04:00
platform_info_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
pmu_event_filter_test.c KVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possible 2022-06-14 12:44:47 -04:00
set_boot_cpu_id.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
set_sregs_test.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
sev_migrate_tests.c KVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possible 2022-06-14 12:44:47 -04:00
smm_test.c KVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possible 2022-06-14 12:44:47 -04:00
state_test.c KVM: selftests: Use kvm_has_cap(), not kvm_check_cap(), where possible 2022-06-14 12:44:47 -04:00
svm_int_ctl_test.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
svm_nested_soft_inject_test.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
svm_vmcall_test.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
sync_regs_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
triple_fault_event_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
tsc_msrs_test.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
tsc_scaling_sync.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
ucna_injection_test.c KVM: selftests: Add a self test for CMCI and UCNA emulations. 2022-06-24 04:52:04 -04:00
userspace_io_test.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
userspace_msr_exit_test.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
vmx_apic_access_test.c KVM: selftests: Trust that MAXPHYADDR > memslot0 in vmx_apic_access_test 2022-06-11 11:47:26 -04:00
vmx_close_while_nested_test.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
vmx_dirty_log_test.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
vmx_exception_with_invalid_guest_state.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
vmx_invalid_nested_guest_state.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
vmx_nested_tsc_scaling_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
vmx_pmu_caps_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
vmx_preemption_timer_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
vmx_set_nested_state_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
vmx_tsc_adjust_test.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
xapic_ipi_test.c KVM: selftests: Purge vm+vcpu_id == vcpu silliness 2022-06-11 11:47:22 -04:00
xapic_state_test.c KVM: selftests: Enhance handling WRMSR ICR register in x2APIC mode 2022-06-24 04:52:04 -04:00
xen_shinfo_test.c KVM: selftests: Sanity check input to ioctls() at build time 2022-06-11 11:48:09 -04:00
xen_vmcall_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
xss_msr_test.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00