vfio/pci-quirks: Make vfio_pci_igd_opregion_init() return bool
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Wed, 22 May 2024 04:40:10 +0000 (12:40 +0800)
committerCédric Le Goater <clg@redhat.com>
Wed, 22 May 2024 08:04:21 +0000 (10:04 +0200)
commitd3c6a18bc7affd3b89903d98d8a3125a3e1c9861
tree48537be1aa79bae71cf00cce8c1ce624cce35a14
parent514855e18fcdc3378fb925046d89a0f1493336db
vfio/pci-quirks: Make vfio_pci_igd_opregion_init() 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/igd.c
hw/vfio/pci-quirks.c
hw/vfio/pci.c
hw/vfio/pci.h