summary refs log tree commit diff stats
path: root/hw/core/qdev-properties-system.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 /hw/core/qdev-properties-system.c
parent713b59a674b407b894161ada0b6541ce4e0f68d7 (diff)
downloadfocaccia-qemu-e942d8f08dd54c5b4ca309e8ccd22193192543a5.tar.gz
focaccia-qemu-e942d8f08dd54c5b4ca309e8ccd22193192543a5.zip
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 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions