vfio: Make VFIOIOMMUClass::setup() return bool
commit35b25cf40e4228e922cc9830bd61a7341623023c
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Tue, 7 May 2024 06:42:45 +0000 (7 14:42 +0800)
committerCédric Le Goater <clg@redhat.com>
Thu, 16 May 2024 14:59:20 +0000 (16 16:59 +0200)
tree7acd281dcff566f2cdc331296104162c7931b0d5
parentb77548355ab5d8c8377ba8f981c7c597507de37a
vfio: Make VFIOIOMMUClass::setup() 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/spapr.c
include/hw/vfio/vfio-container-base.h