qemu/include/hw/vfio
Cédric Le Goater 80936cf7f3 vfio: Introduce vfio_get_vfio_device()
This helper will be useful in the listener handlers to extract the
VFIO device from a memory region using memory_region_owner(). At the
moment, we only care for PCI passthrough devices. If the need arises,
we will add more.

Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250206131438.1505542-5-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2025-02-11 14:15:19 +01:00
..
vfio-amd-xgbe.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
vfio-calxeda-xgmac.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
vfio-common.h vfio: Introduce vfio_get_vfio_device() 2025-02-11 14:15:19 +01:00
vfio-container-base.h vfio/container: Add dirty tracking started flag 2024-12-26 07:23:38 +01:00
vfio-platform.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00