On Tue, 11 Nov 2025 06:52:05 -0800 Alex Mastro <[email protected]> wrote:
> vfio_dma_mapping_test and vfio_pci_driver_test currently use iova=vaddr > as part of DMA mapping operations. The assumption that these IOVAs > are legal has held up on all the hardware we've tested so far, but is > not guaranteed. Make the tests more robust by using iova_allocator to > vend IOVAs, which queries legally accessible IOVAs from the underlying > IOMMUFD or VFIO container. I've reported hardware that it doesn't work on, QEMU emulates such hardware. The commit message suggests this is more of a theoretical problem. Thanks, Alex

