]> git.ipfire.org Git - thirdparty/linux.git/commit
vfio: selftests: Rename struct vfio_iommu_mode to iommu_mode
authorDavid Matlack <dmatlack@google.com>
Wed, 26 Nov 2025 23:17:19 +0000 (23:17 +0000)
committerAlex Williamson <alex@shazbot.org>
Fri, 28 Nov 2025 17:58:06 +0000 (10:58 -0700)
commitdd56ef239d832d9782f5ed204533824bea4548f7
tree3504519aba93194103acb889705c167084167427
parent6282ca8585010bfb4ab658243a1665428bcfa9de
vfio: selftests: Rename struct vfio_iommu_mode to iommu_mode

Rename struct vfio_iommu_mode to struct iommu_mode since the mode can
include iommufd. This also prepares for splitting out all the IOMMU code
into its own structs/helpers/files which are independent from the
vfio_pci_device code.

No function change intended.

Reviewed-by: Alex Mastro <amastro@fb.com>
Tested-by: Alex Mastro <amastro@fb.com>
Reviewed-by: Raghavendra Rao Ananta <rananta@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20251126231733.3302983-5-dmatlack@google.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
tools/testing/selftests/vfio/lib/include/vfio_util.h
tools/testing/selftests/vfio/lib/vfio_pci_device.c