Re: [PATCH 09/14] vfio: add vfio_device_get_irq_info() helper

2025-04-23 Thread Cédric Le Goater
On 4/9/25 15:48, John Levon wrote: 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(). Signed-off-by: Joh

[PATCH 09/14] vfio: add vfio_device_get_irq_info() helper

2025-04-09 Thread John Levon
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(). Signed-off-by: John Levon --- hw/vfio/ap.c