aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2024-05-07 14:42:50 +0800
committerCédric Le Goater <clg@redhat.com>2024-05-16 16:59:20 +0200
commit45d0d8c4044d330225ef684894e2cdcc05ec0823 (patch)
treeed43f2b9fd8e2b3ee879040c22600bb43aa9ef20 /backends
parentbe1ff306bb31fbecfe3593a2a37493407cee87d8 (diff)
downloadqemu-45d0d8c4044d330225ef684894e2cdcc05ec0823.zip
qemu-45d0d8c4044d330225ef684894e2cdcc05ec0823.tar.gz
qemu-45d0d8c4044d330225ef684894e2cdcc05ec0823.tar.bz2
vfio/iommufd: Make iommufd_cdev_*() return bool
This is to follow the coding standand to return bool if 'Error **' is used to pass error. The changed functions include: iommufd_cdev_kvm_device_add iommufd_cdev_connect_and_bind iommufd_cdev_attach_ioas_hwpt iommufd_cdev_detach_ioas_hwpt iommufd_cdev_attach_container iommufd_cdev_get_info_iova_range After the change, all functions in hw/vfio/iommufd.c follows the standand. 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>
Diffstat (limited to 'backends')
0 files changed, 0 insertions, 0 deletions