qemu/include/hw/vfio
John Levon 5321e623eb vfio: add vfio_device_get_irq_info() helper
Add a helper similar to vfio_device_get_region_info() and use it
everywhere.

Replace a couple of needless allocations with stack variables.

As a side-effect, this fixes a minor error reporting issue in the call
from vfio_msix_early_setup().

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250507152020.1254632-5-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2025-05-09 12:42:28 +02: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-container-base.h vfio: Remove hiod_typename property 2025-04-25 09:01:38 +02:00
vfio-container.h vfio: Introduce a new header file for VFIOcontainer declarations 2025-04-25 09:01:37 +02:00
vfio-device.h vfio: add vfio_device_get_irq_info() helper 2025-05-09 12:42:28 +02:00
vfio-migration.h vfio: Introduce a new header file for external migration services 2025-04-25 09:01:37 +02:00
vfio-platform.h vfio: Rename vfio-common.h to vfio-device.h 2025-04-25 09:01:37 +02:00
vfio-region.h vfio: Introduce new files for VFIORegion definitions and declarations 2025-04-25 09:01:37 +02:00