]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-img: call aio_context_acquire/release around block job
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 Oct 2016 10:49:04 +0000 (12:49 +0200)
committerFam Zheng <famz@redhat.com>
Fri, 28 Oct 2016 13:50:18 +0000 (21:50 +0800)
commit9e944cb4744b527dd93aa989023739375a8880fb
tree2bdc8d103f1b12785d7c78073adfa7e3bd426a42
parent15afd94a0470dcace6c73d7187a0602188bfd21c
qemu-img: call aio_context_acquire/release around block job

This will be needed by bdrv_reopen_multiple, which calls
bdrv_drain_all and thus will *release* the AioContext.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-Id: <1477565348-5458-17-git-send-email-pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
qemu-img.c