diff options
| author | David Matlack <dmatlack@google.com> | 2025-08-22 21:24:57 +0000 |
|---|---|---|
| committer | Alex Williamson <alex.williamson@redhat.com> | 2025-08-27 12:14:04 -0600 |
| commit | 924947804f2b9e564efdc814420d21b239df2dd4 (patch) | |
| tree | c65cebe89fcdc1c7038c4451758618e8dcb79c4f /rust/helpers/processor.c | |
| parent | 346cd58f1fb588f8ff193d76cf0bb455446ace03 (diff) | |
vfio: selftests: Enable asserting MSI eventfds not firing
Make it possible to assert that a given MSI eventfd did _not_ fire by
adding a helper to mark an eventfd non-blocking. Demonstrate this in
vfio_pci_device_test by asserting the MSI eventfd did not fire before
vfio_pci_irq_trigger().
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20250822212518.4156428-11-dmatlack@google.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions
