Re: [PATCH v2 07/11] vfio/container: Make vfio_set_iommu() return bool

2024-05-14 Thread Cédric Le Goater
On 5/7/24 08:42, Zhenzhong Duan wrote: This is to follow the coding standand to return bool if 'Error **' is used to pass error. Suggested-by: Cédric Le Goater Signed-off-by: Zhenzhong Duan Reviewed-by: Cédric Le Goater Thanks, C. --- hw/vfio/container.c | 22 ++

[PATCH v2 07/11] vfio/container: Make vfio_set_iommu() return bool

2024-05-07 Thread Zhenzhong Duan
This is to follow the coding standand to return bool if 'Error **' is used to pass error. Suggested-by: Cédric Le Goater Signed-off-by: Zhenzhong Duan --- hw/vfio/container.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/hw/vfio/container.c