qemu-cr16/include/hw/vfio
Zhenzhong Duan 962bcf0911 vfio/container: Support unmap all in one ioctl()
VFIO type1 kernel uAPI supports unmapping whole address space in one call
since commit c19650995374 ("vfio/type1: implement unmap all"). Use the
unmap_all variant whenever it's supported in kernel.

Opportunistically pass VFIOLegacyContainer pointer in low level function
vfio_legacy_dma_unmap_one().

Co-developed-by: John Levon <levon@movementarian.org>
Signed-off-by: John Levon <levon@movementarian.org>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20251009040134.334251-2-zhenzhong.duan@intel.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2025-10-22 08:12:52 +02:00
..
vfio-container-legacy.h vfio/container: Support unmap all in one ioctl() 2025-10-22 08:12:52 +02:00
vfio-container.h hw/vfio: Use uint64_t for IOVA mapping size in vfio_container_dma_*map 2025-10-02 10:41:23 +02:00
vfio-cpr.h vfio/container: Remap only populated parts in a section 2025-10-22 08:12:52 +02:00
vfio-device.h include/hw/vfio/vfio-device.h: fix include header guard name 2025-09-25 17:55:20 +02:00
vfio-migration.h vfio: Introduce a new header file for external migration services 2025-04-25 09:01:37 +02:00