diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2024-10-22 14:08:28 -0600 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2024-10-23 14:46:24 +0200 |
commit | 49915c0d2c9868e6f25e52e4d839943611b69e98 (patch) | |
tree | 8db3eb22f18d9193ca36941b9afc91d08d4e91e5 /scripts/nsis.py | |
parent | fa4e20defe239e42af0a1b5c030dec114f799f56 (diff) | |
download | qemu-49915c0d2c9868e6f25e52e4d839943611b69e98.zip qemu-49915c0d2c9868e6f25e52e4d839943611b69e98.tar.gz qemu-49915c0d2c9868e6f25e52e4d839943611b69e98.tar.bz2 |
vfio/helpers: Refactor vfio_region_mmap() error handling
Move error handling code to the end of the function so that it can more
easily be shared by new mmap failure conditions. No functional change
intended.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'scripts/nsis.py')
0 files changed, 0 insertions, 0 deletions