All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] vfio: propagate IRQ notifier registration failure
@ 2026-05-10  8:43 zhaoguohan
  2026-05-10  8:43 ` [PATCH v2 1/2] vfio/ap: Return false when IRQ notifier setup fails zhaoguohan
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: zhaoguohan @ 2026-05-10  8:43 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-s390x, Alex Williamson, Cédric Le Goater, Cornelia Huck,
	Eric Farman, Matthew Rosato, Tony Krowiak, Halil Pasic,
	Jason Herne

From: GuoHan Zhao <zhaoguohan@kylinos.cn>

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(+)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-05-28 15:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-10  8:43 [PATCH v2 0/2] vfio: propagate IRQ notifier registration failure zhaoguohan
2026-05-10  8:43 ` [PATCH v2 1/2] vfio/ap: Return false when IRQ notifier setup fails zhaoguohan
2026-05-11 10:30   ` Anthony Krowiak
2026-05-10  8:43 ` [PATCH v2 2/2] vfio/ccw: " zhaoguohan
2026-05-11 13:00   ` Eric Farman
2026-05-10 16:09 ` [PATCH v2 0/2] vfio: propagate IRQ notifier registration failure Cédric Le Goater
2026-05-11 14:15 ` Matthew Rosato
2026-05-28 14:55 ` Cornelia Huck
2026-05-28 15:05   ` Cédric Le Goater
2026-05-28 15:10     ` Cornelia Huck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.