aboutsummaryrefslogtreecommitdiff
path: root/hmp.c
diff options
context:
space:
mode:
authorBenoƮt Canet <benoit.canet@irqsave.net>2014-06-16 12:00:55 +0200
committerKevin Wolf <kwolf@redhat.com>2014-06-27 14:18:18 +0200
commit4c828dc61a0d729ae9bfa6fdee55558314135737 (patch)
tree96846720549c13f20e3c2d63123d39072aa4e764 /hmp.c
parentcf29a570a7aa7abab66bf256fdf9540873590811 (diff)
downloadqemu-4c828dc61a0d729ae9bfa6fdee55558314135737.zip
qemu-4c828dc61a0d729ae9bfa6fdee55558314135737.tar.gz
qemu-4c828dc61a0d729ae9bfa6fdee55558314135737.tar.bz2
block: Add node-name argument to drive-mirror
This new argument can be used to specify the node-name of the new mirrored BDS. Signed-off-by: Benoit Canet <benoit@irqsave.net> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r--hmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hmp.c b/hmp.c
index dc3d279..73acc32 100644
--- a/hmp.c
+++ b/hmp.c
@@ -933,6 +933,7 @@ void hmp_drive_mirror(Monitor *mon, const QDict *qdict)
}
qmp_drive_mirror(device, filename, !!format, format,
+ false, NULL,
full ? MIRROR_SYNC_MODE_FULL : MIRROR_SYNC_MODE_TOP,
true, mode, false, 0, false, 0, false, 0,
false, 0, false, 0, &err);