On Sun, 2026-05-10 at 16:43 +0800, [email protected] wrote:
> From: GuoHan Zhao <[email protected]>
> 
> vfio_ccw_register_irq_notifier() cleans up the fd handler and EventNotifier
> when vfio_device_irq_set_signaling() fails, but still returns true to its
> caller.
> 
> Return false after cleanup so the caller can handle the failed
> registration path instead of treating it as a successful notifier setup.
> 
> Fixes: 8aaeff97acee ("vfio/ccw: Make vfio_ccw_register_irq_notifier() return 
> a bool")
> Signed-off-by: GuoHan Zhao <[email protected]>
> ---
>  hw/vfio/ccw.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Eric Farman <[email protected]>

Reply via email to