diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2023-02-04 05:41:51 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-03-14 17:20:08 +0300 |
commit | e6239a4ec5c51e4d5ee4d1604f741f490c32054c (patch) | |
tree | 7a938b31a8d62e27d312036c55cc870cfc49755d /tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c | |
parent | e7062a98d0b3e0b42089f4c5da633a1ce41b807f (diff) | |
download | linux-e6239a4ec5c51e4d5ee4d1604f741f490c32054c.tar.xz |
KVM: selftests: Add EVTCHNOP_send slow path test to xen_shinfo_test
When kvm_xen_evtchn_send() takes the slow path because the shinfo GPC
needs to be revalidated, it used to violate the SRCU vs. kvm->lock
locking rules and potentially cause a deadlock.
Now that lockdep is learning to catch such things, make sure that code
path is exercised by the selftest.
Link: https://lore.kernel.org/all/20230113124606.10221-2-dwmw2@infradead.org
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230204024151.1373296-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c')
0 files changed, 0 insertions, 0 deletions