summaryrefslogtreecommitdiffstats
path: root/bsd-user/bsdload.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2022-04-07 15:27:24 +0200
committerVladimir Sementsov-Ogievskiy2022-06-29 09:56:12 +0200
commit15df6e698719505570f8532772c2b08cb278a45a (patch)
tree20fb1454f27895f8742a08a636f16e4824515037 /bsd-user/bsdload.c
parentutil: add qemu-co-timeout (diff)
downloadqemu-15df6e698719505570f8532772c2b08cb278a45a.tar.gz
qemu-15df6e698719505570f8532772c2b08cb278a45a.tar.xz
qemu-15df6e698719505570f8532772c2b08cb278a45a.zip
block/block-copy: block_copy(): add timeout_ns parameter
Add possibility to limit block_copy() call in time. To be used in the next commit. As timed-out block_copy() call will continue in background anyway (we can't immediately cancel IO operation), it's important also give user a possibility to pass a callback, to do some additional actions on block-copy call finish. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@openvz.org> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Diffstat (limited to 'bsd-user/bsdload.c')
0 files changed, 0 insertions, 0 deletions