diff options
| author | Philippe Mathieu-Daudé | 2021-09-02 09:00:24 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2021-09-07 10:08:24 +0200 |
| commit | f38b376d421dcb35027e6d9bf852b4091dc87d83 (patch) | |
| tree | d8310b2973f577172d4d8b27a6925604fa6e53dd /include | |
| parent | util/vfio-helpers: Simplify qemu_vfio_dma_map() returning directly (diff) | |
| download | qemu-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 'include')
0 files changed, 0 insertions, 0 deletions
