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