]> git.proxmox.com Git - mirror_qemu.git/commit - block/stream.c
block: Support streaming to an intermediate layer
authorAlberto Garcia <berto@igalia.com>
Fri, 28 Oct 2016 07:08:10 +0000 (10:08 +0300)
committerKevin Wolf <kwolf@redhat.com>
Mon, 31 Oct 2016 15:52:38 +0000 (16:52 +0100)
commit61b49e48b379db45f0ea91c93a61c873695549a9
tree67dac53b67ee625ec04cfa2ec0610dfd5693a457
parentf3ede4b05d1407d48314f0edada5e402865e641e
block: Support streaming to an intermediate layer

This makes sure that the image we are streaming into is open in
read-write mode during the operation.

Operation blockers are also set in all intermediate nodes, since they
will be removed from the chain afterwards.

Finally, this also unblocks the stream operation in backing files.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/stream.c