summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorDavid Matlack <dmatlack@google.com>2025-08-22 21:24:56 +0000
committerAlex Williamson <alex.williamson@redhat.com>2025-08-27 12:14:04 -0600
commit346cd58f1fb588f8ff193d76cf0bb455446ace03 (patch)
treee48642ee2f6af4e0f7e8d1fe238994655dc1b6f2 /rust/helpers
parent47f861048ef7034a59431020c5916a43378a8c0c (diff)
vfio: selftests: Keep track of DMA regions mapped into the device
Keep track of the list of DMA regions that are mapped into the device using a linked list and a new struct vfio_dma_region and use that to add {__,}to_iova() for converting host virtual addresses into IOVAs. This will be used in a subsequent commit to map multiple DMA regions into a device that are then used by drivers. Acked-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: David Matlack <dmatlack@google.com> Link: https://lore.kernel.org/r/20250822212518.4156428-10-dmatlack@google.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions