vfio/ap: Make vfio_ap_register_irq_notifier() return a bool
commitcbd470f0aac51103e010e45e1b10cb3bfedb4f99
authorCédric Le Goater <clg@redhat.com>
Thu, 25 Apr 2024 09:02:12 +0000 (25 11:02 +0200)
committerCédric Le Goater <clg@redhat.com>
Thu, 16 May 2024 14:59:19 +0000 (16 16:59 +0200)
tree4fafeaacbd1085bfdeacea5235a71377597f872e
parentae7aca14bd531922e27767e90902b673f2cf786a
vfio/ap: Make vfio_ap_register_irq_notifier() return a bool

Since vfio_ap_register_irq_notifier() takes and 'Error **' argument,
best practices suggest to return a bool. See the qapi/error.h Rules
section.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/ap.c