vfio/pci: Make vfio_intx_enable() return bool
commitc32bab074ebac4dc872dabe801efe6581f73daba
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Wed, 22 May 2024 04:40:06 +0000 (22 12:40 +0800)
committerCédric Le Goater <clg@redhat.com>
Wed, 22 May 2024 08:04:21 +0000 (22 10:04 +0200)
tree656404dfc0adaf3f1ed4ad0cb645c9c46850aa39
parente942d8f08dd54c5b4ca309e8ccd22193192543a5
vfio/pci: Make vfio_intx_enable() return bool

This is to follow the coding standand in qapi/error.h to return bool
for bool-valued functions.

Suggested-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/pci.c