]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vfio: selftests: Make iommufd the default iommu_mode
authorDavid Matlack <dmatlack@google.com>
Fri, 22 Aug 2025 21:25:16 +0000 (21:25 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 27 Aug 2025 18:14:11 +0000 (12:14 -0600)
commit8afcbe20476ad238fd1f331f51d721138eff5172
treef38e902a1316a1a52ff43c713c1a7a86349f382c
parent61cbfe5014cbc17b376b6a9b2087f39f379a6b86
vfio: selftests: Make iommufd the default iommu_mode

Now that VFIO selftests support iommufd, make it the default mode.
IOMMUFD is the successor to VFIO_TYPE1{,v2}_IOMMU and all new features
are being added there, so it's a slightly better fit as the default
mode.

Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20250822212518.4156428-30-dmatlack@google.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
tools/testing/selftests/vfio/lib/vfio_pci_device.c