]> git.ipfire.org Git - thirdparty/qemu.git/commit
qmp: Add optional bool "unmap" to drive-mirror
authorFam Zheng <famz@redhat.com>
Mon, 8 Jun 2015 05:56:08 +0000 (13:56 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 30 Jul 2015 02:43:36 +0000 (21:43 -0500)
commit6a45a1b8e45bf3396dd4901a5f7cbadc3780f250
tree77b9d547b520a7daaa0b9d98e35d1966a48ffe0e
parent6cacd2651a4afc1935c9d945e615dce72244158a
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>
(cherry picked from commit 0fc9f8ea2800b76eaea20a8a3a91fbeeb4bfa81b)

* added to maintain any interdependencies between patches in the
  set. not intended as a new feature for 2.3.1, though it's there
  for anyone interested

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/mirror.c
blockdev.c
hmp.c
include/block/block_int.h
qapi/block-core.json
qmp-commands.hx