]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-img: wait for convert coroutines to complete
authorAnton Nefedov <anton.nefedov@virtuozzo.com>
Wed, 26 Apr 2017 08:33:15 +0000 (11:33 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 31 Jul 2017 22:23:52 +0000 (17:23 -0500)
commitd8cddcc2b9c741896ae2216a60859c75fe223756
tree9f852e5048e812e7fb478e9dbd9f4241da490ff3
parentce119247a175baea72acd915b55f01f46003392b
qemu-img: wait for convert coroutines to complete

On error path (like i/o error in one of the coroutines), it's required to
  - wait for coroutines completion before cleaning the common structures
  - reenter dependent coroutines so they ever finish

Introduced in 2d9187bc65.

Cc: qemu-stable@nongnu.org
Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com>
Reviewed-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit b91127edd0ff96f27f1e58e47f4e9f9d6a0fed02)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qemu-img.c