summary refs log tree commit diff stats
path: root/python/scripts
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2024-05-22 12:40:04 +0800
committerCédric Le Goater <clg@redhat.com>2024-05-22 10:04:21 +0200
commit713b59a674b407b894161ada0b6541ce4e0f68d7 (patch)
tree096b80a9f1b822eaccd087a07661de9982272672 /python/scripts
parent44cd660a992df4bee1723fb8899c1d9bb9f8de0b (diff)
downloadfocaccia-qemu-713b59a674b407b894161ada0b6541ce4e0f68d7.tar.gz
focaccia-qemu-713b59a674b407b894161ada0b6541ce4e0f68d7.zip
vfio/pci: Make vfio_pci_relocate_msix() and vfio_msix_early_setup() return a bool
Since vfio_pci_relocate_msix() and vfio_msix_early_setup() 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_msix_early_setup() 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 'python/scripts')
0 files changed, 0 insertions, 0 deletions