diff options
author | Michal Luczaj <[email protected]> | 2022-10-13 21:12:33 +0000 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-10-28 06:10:27 -0400 |
commit | a51abbbf25317c07cb00b40ae7d04a209d2a3d54 (patch) | |
tree | 9c7c70859b3392cfa472e6a3ab023a429fec1100 /scripts/gdb/linux | |
parent | ecbcf030b45666ad11bc98565e71dfbcb7be4393 (diff) |
KVM: selftests: Add tests in xen_shinfo_test to detect lock races
Tests for races between shinfo_cache (de)activation and hypercall+ioctl()
processing. KVM has had bugs where activating the shared info cache
multiple times and/or with concurrent users results in lock corruption,
NULL pointer dereferences, and other fun.
For the timer injection testcase (#22), re-arm the timer until the IRQ
is successfully injected. If the timer expires while the shared info
is deactivated (invalid), KVM will drop the event.
Signed-off-by: Michal Luczaj <[email protected]>
Co-developed-by: Sean Christopherson <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions