vfio: Make VFIOIOMMUClass::attach_device() and its wrapper return bool
commitb77548355ab5d8c8377ba8f981c7c597507de37a
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Tue, 7 May 2024 06:42:44 +0000 (7 14:42 +0800)
committerCédric Le Goater <clg@redhat.com>
Thu, 16 May 2024 14:59:20 +0000 (16 16:59 +0200)
treee70d40f836675b943ee765c32bf6b7f41b89b029
parentf3758413b77d396dd4db68643f7068fb49ec77d9
vfio: Make VFIOIOMMUClass::attach_device() and its wrapper return bool

Make VFIOIOMMUClass::attach_device() and its wrapper function
vfio_attach_device() return bool.

This is to follow the coding standand to return bool if 'Error **'
is used to pass error.

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/ap.c
hw/vfio/ccw.c
hw/vfio/common.c
hw/vfio/container.c
hw/vfio/iommufd.c
hw/vfio/pci.c
hw/vfio/platform.c
include/hw/vfio/vfio-common.h
include/hw/vfio/vfio-container-base.h