linux_dsm_epyc7002/tools/testing/selftests/kvm/x86_64
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
..
cr4_cpuid_sync_test.c KVM: selftests: Compile code with warnings enabled 2019-05-24 21:27:05 +02:00
evmcs_test.c KVM: selftests: Compile code with warnings enabled 2019-05-24 21:27:05 +02:00
hyperv_cpuid.c KVM: selftests: Remove duplicated TEST_ASSERT in hyperv_cpuid.c 2019-05-24 21:27:10 +02:00
kvm_create_max_vcpus.c tests: kvm: Add tests for KVM_CAP_MAX_VCPUS and KVM_CAP_MAX_CPU_ID 2019-05-08 14:02:12 +02:00
mmio_warning_test.c tests: kvm: Check for a kernel warning 2019-06-19 16:11:54 +02:00
platform_info_test.c KVM: selftests: Compile code with warnings enabled 2019-05-24 21:27:05 +02:00
set_sregs_test.c kvm: selftests: move arch-specific files to arch-specific locations 2018-10-17 00:26:16 +02:00
smm_test.c KVM: selftests: Compile code with warnings enabled 2019-05-24 21:27:05 +02:00
state_test.c KVM: selftests: Compile code with warnings enabled 2019-05-24 21:27:05 +02:00
sync_regs_test.c KVM: selftests: do not blindly clobber registers in guest asm 2019-05-24 21:27:10 +02:00
vmx_close_while_nested_test.c KVM: selftests: Compile code with warnings enabled 2019-05-24 21:27:05 +02:00
vmx_set_nested_state_test.c KVM: x86: Modify struct kvm_nested_state to have explicit fields for data 2019-06-19 16:11:52 +02:00
vmx_tsc_adjust_test.c KVM: selftests: Compile code with warnings enabled 2019-05-24 21:27:05 +02:00