Re: [PATCH] vfio/ap: Use g_autofree variable

2024-04-26 Thread Anthony Krowiak
On 4/24/24 8:54 AM, Cédric Le Goater wrote: Also change the return value of vfio_ap_register_irq_notifier() to be a bool since it takes and 'Error **' argument. See the qapi/error.h Rules section. LGTM Signed-off-by: Anthony Krowiak Signed-off-by: Cédric Le Goater --- hw/vfio/ap.c

Re: [PATCH] vfio/ap: Use g_autofree variable

2024-04-24 Thread Markus Armbruster
Cédric Le Goater writes: > Also change the return value of vfio_ap_register_irq_notifier() to be > a bool since it takes and 'Error **' argument. See the qapi/error.h > Rules section. > > Signed-off-by: Cédric Le Goater Split the patch? If not, the bigger part by far is the return value

[PATCH] vfio/ap: Use g_autofree variable

2024-04-24 Thread Cédric Le Goater
Also change the return value of vfio_ap_register_irq_notifier() to be a bool since it takes and 'Error **' argument. See the qapi/error.h Rules section. Signed-off-by: Cédric Le Goater --- hw/vfio/ap.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git