Skip to content
Commit 10e7a099 authored by Sean Christopherson's avatar Sean Christopherson Committed by Paolo Bonzini
Browse files

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: default avatarSean Christopherson <seanjc@google.com>
Message-Id: <20211025201311.1881846-3-seanjc@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent d07898ea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment