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>
Showing
- block.c 25 additions, 0 deletionsblock.c
- block/mirror.c 47 additions, 13 deletionsblock/mirror.c
- blockdev.c 30 additions, 1 deletionblockdev.c
- hmp.c 1 addition, 1 deletionhmp.c
- include/block/block.h 4 additions, 0 deletionsinclude/block/block.h
- include/block/block_int.h 3 additions, 0 deletionsinclude/block/block_int.h
- qapi/block-core.json 5 additions, 1 deletionqapi/block-core.json
- qmp-commands.hx 3 additions, 1 deletionqmp-commands.hx
Loading
Please register or sign in to comment