diff options
author | Cédric Le Goater <clg@redhat.com> | 2024-06-17 08:33:53 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2024-06-24 23:15:31 +0200 |
commit | 332b9b0da409d727ac4765fa613158189562dec4 (patch) | |
tree | aafb3c8932c5318fe37321d87b26323fe79d99b4 /gdb-xml | |
parent | 71386c6efd7d57cc549b1c3caff889e7506c54a9 (diff) | |
download | qemu-332b9b0da409d727ac4765fa613158189562dec4.zip qemu-332b9b0da409d727ac4765fa613158189562dec4.tar.gz qemu-332b9b0da409d727ac4765fa613158189562dec4.tar.bz2 |
vfio: Make vfio_devices_dma_logging_start() return bool
Since vfio_devices_dma_logging_start() takes an 'Error **' argument,
best practices suggest to return a bool. See the api/error.h Rules
section. It will simplify potential changes coming after.
vfio_container_set_dirty_page_tracking() could be modified in the same
way but the errno value can be saved in the migration stream when
called from vfio_listener_log_global_stop().
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'gdb-xml')
0 files changed, 0 insertions, 0 deletions