diff options
author | Fam Zheng <famz@redhat.com> | 2015-06-08 13:56:08 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-07-02 10:06:23 +0100 |
commit | 0fc9f8ea2800b76eaea20a8a3a91fbeeb4bfa81b (patch) | |
tree | 0e38faa50c9b3d149853693e64d945b15d351405 /hmp.c | |
parent | ba3f0e2545c365ebe1dbddb0e53058710d41881e (diff) | |
download | qemu-0fc9f8ea2800b76eaea20a8a3a91fbeeb4bfa81b.tar.gz qemu-0fc9f8ea2800b76eaea20a8a3a91fbeeb4bfa81b.tar.bz2 qemu-0fc9f8ea2800b76eaea20a8a3a91fbeeb4bfa81b.zip |
qmp: Add optional bool "unmap" to drive-mirror
If specified as "true", it allows discarding on target sectors where source is
not allocated.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1061,7 +1061,7 @@ void hmp_drive_mirror(Monitor *mon, const QDict *qdict) false, NULL, false, NULL, full ? MIRROR_SYNC_MODE_FULL : MIRROR_SYNC_MODE_TOP, true, mode, false, 0, false, 0, false, 0, - false, 0, false, 0, &err); + false, 0, false, 0, false, true, &err); hmp_handle_error(mon, &err); } |