linux_dsm_epyc7002/tools/testing/selftests/kvm
Aaron Lewis 9dba988edb tests: kvm: Check for a kernel warning
When running with /sys/module/kvm_intel/parameters/unrestricted_guest=N,
test that a kernel warning does not occur informing us that
vcpu->mmio_needed=1.  This can happen when KVM_RUN is called after a
triple fault.
This test was made to detect a bug that was reported by Syzkaller
(https://groups.google.com/forum/#!topic/syzkaller/lHfau8E3SOE) and
fixed with commit bbeac2830f ("KVM: X86: Fix residual mmio emulation
request to userspace").

Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Peter Shier <pshier@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-06-19 16:11:54 +02:00
..
include tests: kvm: Check for a kernel warning 2019-06-19 16:11:54 +02:00
lib tests: kvm: Check for a kernel warning 2019-06-19 16:11:54 +02:00
x86_64 tests: kvm: Check for a kernel warning 2019-06-19 16:11:54 +02:00
.gitignore tests: kvm: Check for a kernel warning 2019-06-19 16:11:54 +02:00
clear_dirty_log_test.c kvm: introduce manual dirty log reprotect 2018-12-14 12:34:19 +01:00
dirty_log_test.c kvm: selftests: aarch64: dirty_log_test: fix unaligned memslot size 2019-05-24 21:27:15 +02:00
Makefile tests: kvm: Check for a kernel warning 2019-06-19 16:11:54 +02:00