]> Gentwo Git Trees - linux/.git/commit
vfio: selftests: Rename struct vfio_dma_region to dma_region
authorDavid Matlack <dmatlack@google.com>
Wed, 26 Nov 2025 23:17:25 +0000 (23:17 +0000)
committerAlex Williamson <alex@shazbot.org>
Fri, 28 Nov 2025 17:58:06 +0000 (10:58 -0700)
commit9a659d74f2a455cbc595c6cb4dfefc16b09f86ed
tree56f0849ccd1582516a93aaae90063fe4d2e37b62
parent28a84da744dd647d07b784623ddd671c00371297
vfio: selftests: Rename struct vfio_dma_region to dma_region

Rename struct vfio_dma_region to dma_region. This is in preparation for
separating the VFIO PCI device library code from the IOMMU library code.
This name change also better reflects the fact that DMA mappings can be
managed by either VFIO or IOMMUFD. i.e. the "vfio_" prefix is
misleading.

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-11-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
tools/testing/selftests/vfio/vfio_dma_mapping_test.c
tools/testing/selftests/vfio/vfio_pci_driver_test.c