summary refs log tree commit diff stats
path: root/hw/vfio/helpers.c
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2024-05-07 14:42:52 +0800
committerCédric Le Goater <clg@redhat.com>2024-05-16 16:59:20 +0200
commit9067d50dff29b1b96ef0d4ab7448dbd7b636e55c (patch)
treeccf0d91fce85d2947a434774ac9e764191d18350 /hw/vfio/helpers.c
parentf38f5dd1d454e41def9cdba899d0b059dd8855d9 (diff)
downloadfocaccia-qemu-9067d50dff29b1b96ef0d4ab7448dbd7b636e55c.tar.gz
focaccia-qemu-9067d50dff29b1b96ef0d4ab7448dbd7b636e55c.zip
backends/iommufd: Make iommufd_backend_*() return bool
This is to follow the coding standand to return bool if 'Error **'
is used to pass error.

The changed functions include:

iommufd_backend_connect
iommufd_backend_alloc_ioas

By this chance, simplify the functions a bit by avoiding duplicate
recordings, e.g., log through either error interface or trace, not
both.

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 'hw/vfio/helpers.c')
0 files changed, 0 insertions, 0 deletions