On 5/10/26 10:43, [email protected] wrote:
From: GuoHan Zhao <[email protected]>

vfio_ap_register_irq_notifier() and vfio_ccw_register_irq_notifier() clean
up the fd handler and EventNotifier when vfio_device_irq_set_signaling()
fails, but still return true to their callers.

Return false after cleanup so callers can handle the failed registration
path instead of treating it as a successful notifier setup.

Please ignore the previous version.

GuoHan Zhao (2):
   vfio/ap: Return false when IRQ notifier setup fails
   vfio/ccw: Return false when IRQ notifier setup fails

  hw/vfio/ap.c  | 1 +
  hw/vfio/ccw.c | 1 +
  2 files changed, 2 insertions(+)



Reviewed-by: Cédric Le Goater <[email protected]>

Thanks,

C.


Reply via email to