vfio/display: Make vfio_display_*() return bool
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Wed, 22 May 2024 04:39:57 +0000 (12:39 +0800)
committerCédric Le Goater <clg@redhat.com>
Wed, 22 May 2024 08:04:21 +0000 (10:04 +0200)
commit455c009dc4ec13dab51c3764332433013b5cf3cb
treeb06637d85932377acb62c126377b19b680eb49e2
parent9442d8af674c80a2f8a7358977e1fc7ed43d2776
vfio/display: Make vfio_display_*() 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/display.c
hw/vfio/pci.c
hw/vfio/pci.h