Skip to content

Commit e29f5d0

Browse files
committed
KVM: selftests: Remove x86's so called "MMIO warning" test
Remove x86's mmio_warning_test, as it is unnecessarily complex (there's no reason to fork, spawn threads, initialize srand(), etc..), unnecessarily restrictive (triggering triple fault is not unique to Intel CPUs without unrestricted guest), and provides no meaningful coverage beyond what basic fuzzing can achieve (running a vCPU with garbage is fuzzing's bread and butter). That the test has *all* of the above flaws is not coincidental, as the code was copy+pasted almost verbatim from the syzkaller reproducer that originally found the KVM bug (which has long since been fixed). Cc: Michal Luczaj <mhal@rbox.co> Link: https://groups.google.com/g/syzkaller/c/lHfau8E3SOE Link: https://lore.kernel.org/r/20230815220030.560372-1-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
1 parent 1b78d47 commit e29f5d0

File tree

2 files changed

+0
-122
lines changed

2 files changed

+0
-122
lines changed

tools/testing/selftests/kvm/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ TEST_GEN_PROGS_x86_64 += x86_64/hyperv_svm_test
8686
TEST_GEN_PROGS_x86_64 += x86_64/hyperv_tlb_flush
8787
TEST_GEN_PROGS_x86_64 += x86_64/kvm_clock_test
8888
TEST_GEN_PROGS_x86_64 += x86_64/kvm_pv_test
89-
TEST_GEN_PROGS_x86_64 += x86_64/mmio_warning_test
9089
TEST_GEN_PROGS_x86_64 += x86_64/monitor_mwait_test
9190
TEST_GEN_PROGS_x86_64 += x86_64/nested_exceptions_test
9291
TEST_GEN_PROGS_x86_64 += x86_64/platform_info_test

tools/testing/selftests/kvm/x86_64/mmio_warning_test.c

Lines changed: 0 additions & 121 deletions
This file was deleted.

0 commit comments

Comments
 (0)