vfio/cpr: Make vfio_cpr_register_container() return bool
commitf38f5dd1d454e41def9cdba899d0b059dd8855d9
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Tue, 7 May 2024 06:42:51 +0000 (7 14:42 +0800)
committerCédric Le Goater <clg@redhat.com>
Thu, 16 May 2024 14:59:20 +0000 (16 16:59 +0200)
tree220675eaf048af582b40b3ee581a76d9a21133ae
parent45d0d8c4044d330225ef684894e2cdcc05ec0823
vfio/cpr: Make vfio_cpr_register_container() 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/container.c
hw/vfio/cpr.c
hw/vfio/iommufd.c
include/hw/vfio/vfio-common.h