summary refs log tree commit diff stats
path: root/accel/tcg/user-exec.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2024-10-22 14:08:28 -0600
committerCédric Le Goater <clg@redhat.com>2024-10-23 14:46:24 +0200
commit49915c0d2c9868e6f25e52e4d839943611b69e98 (patch)
tree8db3eb22f18d9193ca36941b9afc91d08d4e91e5 /accel/tcg/user-exec.c
parentfa4e20defe239e42af0a1b5c030dec114f799f56 (diff)
downloadfocaccia-qemu-49915c0d2c9868e6f25e52e4d839943611b69e98.tar.gz
focaccia-qemu-49915c0d2c9868e6f25e52e4d839943611b69e98.zip
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 'accel/tcg/user-exec.c')
0 files changed, 0 insertions, 0 deletions