]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vfio: selftests: Test basic VFIO and IOMMUFD integration
authorJosh Hilke <jrhilke@google.com>
Fri, 22 Aug 2025 21:24:51 +0000 (21:24 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 27 Aug 2025 18:14:02 +0000 (12:14 -0600)
commit790588f06e9ce58c281faeada453f47361bc06b6
treebcd57cccb3b21d2d4cf496ec7db67984b95c2692
parent16eadd7c1277284cfff5b7071910920a2d008251
vfio: selftests: Test basic VFIO and IOMMUFD integration

Add a vfio test suite which verifies that userspace can bind and unbind
devices, allocate I/O address space, and attach a device to an IOMMU
domain using the cdev + IOMMUfd VFIO interface.

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