aboutsummaryrefslogtreecommitdiff
path: root/event-loop-base.c
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2024-05-22 12:40:05 +0800
committerCédric Le Goater <clg@redhat.com>2024-05-22 10:04:21 +0200
commite942d8f08dd54c5b4ca309e8ccd22193192543a5 (patch)
tree1a99a918c8831e08133e78590b82256dce009693 /event-loop-base.c
parent713b59a674b407b894161ada0b6541ce4e0f68d7 (diff)
downloadqemu-e942d8f08dd54c5b4ca309e8ccd22193192543a5.zip
qemu-e942d8f08dd54c5b4ca309e8ccd22193192543a5.tar.gz
qemu-e942d8f08dd54c5b4ca309e8ccd22193192543a5.tar.bz2
vfio/pci: Make vfio_populate_device() return a bool
Since vfio_populate_device() takes an 'Error **' argument, best practices suggest to return a bool. See the qapi/error.h Rules section. By this chance, pass errp directly to vfio_populate_device() to avoid calling error_propagate(). 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 'event-loop-base.c')
0 files changed, 0 insertions, 0 deletions