-
- Downloads
selftests: KVM: Add test to verify KVM doesn't explode on "bad" I/O
Add an x86 selftest to verify that KVM doesn't WARN or otherwise explode if userspace modifies RCX during a userspace exit to handle string I/O. This is a regression test for a user-triggerable WARN introduced by commit 3b27de27 ("KVM: x86: split the two parts of emulator_pio_in"). Signed-off-by:Sean Christopherson <seanjc@google.com> Message-Id: <20211025201311.1881846-3-seanjc@google.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- tools/testing/selftests/kvm/.gitignore 1 addition, 0 deletionstools/testing/selftests/kvm/.gitignore
- tools/testing/selftests/kvm/Makefile 1 addition, 0 deletionstools/testing/selftests/kvm/Makefile
- tools/testing/selftests/kvm/x86_64/userspace_io_test.c 114 additions, 0 deletionstools/testing/selftests/kvm/x86_64/userspace_io_test.c
Loading
Please register or sign in to comment