]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hmp.c
Merge remote-tracking branch 'quintela/tags/migration/20161114' into staging
[mirror_qemu.git] / hmp.c
diff --git a/hmp.c b/hmp.c
index 02103dfb75f0a16bee673722ac8bf2df02a65157..b86961705d7790115437724a51f99c2d17390a6b 100644 (file)
--- a/hmp.c
+++ b/hmp.c
@@ -1571,7 +1571,7 @@ void hmp_block_stream(Monitor *mon, const QDict *qdict)
     const char *base = qdict_get_try_str(qdict, "base");
     int64_t speed = qdict_get_try_int(qdict, "speed", 0);
 
-    qmp_block_stream(false, NULL, device, base != NULL, base, false, NULL,
+    qmp_block_stream(true, device, device, base != NULL, base, false, NULL,
                      false, NULL, qdict_haskey(qdict, "speed"), speed,
                      true, BLOCKDEV_ON_ERROR_REPORT, &error);