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

Make VFIOIOMMUClass::add_window() and its wrapper function
vfio_container_add_section_window() 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/common.c
hw/vfio/container-base.c
hw/vfio/spapr.c
include/hw/vfio/vfio-container-base.h