Re: [PATCH 03/16] vfio/helpers: Use g_autofree in hw/vfio/helpers.c

2024-05-21 Thread Cédric Le Goater
On 5/15/24 10:20, Zhenzhong Duan wrote: Changed functions include vfio_set_irq_signaling() this change looks fine and vfio_region_setup(). I would prefer all users of vfio_get_region_info() to be changed. Thanks, C. Signed-off-by: Zhenzhong Duan --- hw/vfio/helpers.c | 7 ++-

[PATCH 03/16] vfio/helpers: Use g_autofree in hw/vfio/helpers.c

2024-05-15 Thread Zhenzhong Duan
Changed functions include vfio_set_irq_signaling() and vfio_region_setup(). Signed-off-by: Zhenzhong Duan --- hw/vfio/helpers.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/hw/vfio/helpers.c b/hw/vfio/helpers.c index 47b4096c05..0bb7b40a6a 100644 ---