summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorFam Zheng2015-06-08 07:56:09 +0200
committerStefan Hajnoczi2015-07-02 11:06:23 +0200
commitdcfb3beb5130694b76b57de109619fcbf9c7e5b5 (patch)
treeaf8a045ab17230ead191ffba9886025c6b12a35e /scripts/switch-timer-api
parentqmp: Add optional bool "unmap" to drive-mirror (diff)
downloadqemu-dcfb3beb5130694b76b57de109619fcbf9c7e5b5.tar.gz
qemu-dcfb3beb5130694b76b57de109619fcbf9c7e5b5.tar.xz
qemu-dcfb3beb5130694b76b57de109619fcbf9c7e5b5.zip
mirror: Do zero write on target if sectors not allocated
If guest discards a source cluster, mirroring with bdrv_aio_readv is overkill. Some protocols do zero upon discard, where it's best to use bdrv_aio_write_zeroes, otherwise, bdrv_aio_discard will be enough. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions