]> git.ipfire.org Git - thirdparty/qemu.git/commit - block.c
block: Add replaces argument to drive-mirror
authorBenoît Canet <benoit.canet@irqsave.net>
Fri, 27 Jun 2014 16:25:25 +0000 (18:25 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 27 Jun 2014 18:00:00 +0000 (20:00 +0200)
commit09158f00e0fdb506dcbf36f67c615b7f6c604c5a
treef7a4f03efed4ae74d92c1dc3d1b9d4bef51a6780
parent823c686356e6758bacb46d3a316b841536d6d707
block: Add replaces argument to drive-mirror

drive-mirror will bdrv_swap the new BDS named node-name with the one
pointed by replaces when the mirroring is finished.

Signed-off-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/mirror.c
blockdev.c
hmp.c
include/block/block.h
include/block/block_int.h
qapi/block-core.json
qmp-commands.hx