]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vfio: sefltests: Add vfio_pci_driver_test
authorDavid Matlack <dmatlack@google.com>
Fri, 22 Aug 2025 21:25:00 +0000 (21:25 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 27 Aug 2025 18:14:05 +0000 (12:14 -0600)
commitfded8da4bc38df6e1475ac5998934c490b96215d
treef190a8133e25ee6c32e9df8b628c796ef7743a9e
parent1b197032ac58b9a17350c086fc151390f32080b2
vfio: sefltests: Add vfio_pci_driver_test

Add a new selftest that tests all driver operations. This test serves
both as a demonstration of the driver framework, and also as a
correctness test for future drivers.

Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20250822212518.4156428-14-dmatlack@google.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
tools/testing/selftests/vfio/Makefile
tools/testing/selftests/vfio/vfio_pci_driver_test.c [new file with mode: 0644]