Revision 9dba988edb31d013003b7f00e82dd56f01db70c3 authored by Aaron Lewis on 31 May 2019, 14:14:52 UTC, committed by Paolo Bonzini on 19 June 2019, 14:11:54 UTC
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 bbeac2830f4de ("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>
1 parent 61cfcd5
History
File Mode Size
Kconfig -rw-r--r-- 1.3 KB
Makefile -rw-r--r-- 218 bytes
xz_crc32.c -rw-r--r-- 1.2 KB
xz_dec_bcj.c -rw-r--r-- 13.6 KB
xz_dec_lzma2.c -rw-r--r-- 28.4 KB
xz_dec_stream.c -rw-r--r-- 19.4 KB
xz_dec_syms.c -rw-r--r-- 664 bytes
xz_dec_test.c -rw-r--r-- 5.2 KB
xz_lzma2.h -rw-r--r-- 6.0 KB
xz_private.h -rw-r--r-- 4.5 KB
xz_stream.h -rw-r--r-- 1.4 KB

back to top