summaryrefslogtreecommitdiffstats
path: root/scripts/test-driver.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-09-02 09:00:24 +0200
committerStefan Hajnoczi2021-09-07 10:08:24 +0200
commitf38b376d421dcb35027e6d9bf852b4091dc87d83 (patch)
treed8310b2973f577172d4d8b27a6925604fa6e53dd /scripts/test-driver.py
parentutil/vfio-helpers: Simplify qemu_vfio_dma_map() returning directly (diff)
downloadqemu-f38b376d421dcb35027e6d9bf852b4091dc87d83.tar.gz
qemu-f38b376d421dcb35027e6d9bf852b4091dc87d83.tar.xz
qemu-f38b376d421dcb35027e6d9bf852b4091dc87d83.zip
util/vfio-helpers: Let qemu_vfio_do_mapping() propagate Error
Pass qemu_vfio_do_mapping() an Error* argument so it can propagate any error to callers. Replace error_report() which only report to the monitor by the more generic error_setg_errno(). Reviewed-by: Fam Zheng <fam@euphon.net> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Klaus Jensen <k.jensen@samsung.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20210902070025.197072-11-philmd@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/test-driver.py')
0 files changed, 0 insertions, 0 deletions