diff options
| author | Warner Losh | 2022-01-31 21:37:24 +0100 |
|---|---|---|
| committer | Warner Losh | 2022-06-11 06:00:48 +0200 |
| commit | 1ed771b21cdb86486bd8b840d1b91bb1cd9d945e (patch) | |
| tree | 1c87f10ce549598baa107678ef8aaca723e5ebf7 /python/tests | |
| parent | Merge tag 'pull-target-arm-20220610' of https://git.linaro.org/people/pmaydel... (diff) | |
| download | qemu-1ed771b21cdb86486bd8b840d1b91bb1cd9d945e.tar.gz qemu-1ed771b21cdb86486bd8b840d1b91bb1cd9d945e.tar.xz qemu-1ed771b21cdb86486bd8b840d1b91bb1cd9d945e.zip | |
bsd-user/freebsd/os-syscall.c: lock_iovec
lock_iovec will lock an I/O vec and the memory to which it refers and
create a iovec in the host space that refers to it, with full error
unwinding. Add helper_iovec_unlock to unlock the partially locked iovec
in case there's an error. The code will be used in iovec_unlock when
that is committed.
Note: memory handling likely could be rewritten to use q_autofree. That
will be explored in the future since what we have now works well enough.
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'python/tests')
0 files changed, 0 insertions, 0 deletions
