]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.c
qcow2: Use intermediate helper CB for amend
authorMax Reitz <mreitz@redhat.com>
Mon, 27 Jul 2015 15:51:36 +0000 (17:51 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 18 Dec 2015 13:34:43 +0000 (14:34 +0100)
commitc293a8092743aa0e4982067465d6eea6854d6d0c
tree74c83cf43a623abea9e92da5b17822ccb71eb0f0
parent1038bbb803b1630a5d9b91d185b5957a25d4710d
qcow2: Use intermediate helper CB for amend

If there is more than one time-consuming operation to be performed for
qcow2_amend_options(), we need an intermediate CB which coordinates the
progress of the individual operations and passes the result to the
original status callback.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c