On 5/28/26 16:55, Cornelia Huck wrote:
On Sun, May 10 2026, [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(+)


...I guess this should go through the s390 tree (and not the vfio tree?)
If yes, I'll pick it up.


I included these patches in my VFIO PR  last week. They are merged.

  https://lore.kernel.org/qemu-devel/[email protected]/

Hope that's fine ? Sorry if not :/

C.


Reply via email to