summary refs log tree commit diff stats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2019-03-22 13:38:43 +0100
committerKevin Wolf <kwolf@redhat.com>2019-03-26 11:37:51 +0100
commitfe0480d6294270ff0d6fb60e66bb725a6aad2043 (patch)
tree86c0e0d0d3582b8cce53b18b0b3ecc7f942bf84b /qemu-io-cmds.c
parent48ce986096bb70354b12f0becb253a06bcf9c434 (diff)
downloadfocaccia-qemu-fe0480d6294270ff0d6fb60e66bb725a6aad2043.tar.gz
focaccia-qemu-fe0480d6294270ff0d6fb60e66bb725a6aad2043.zip
block: Add BDRV_REQ_NO_FALLBACK
For qemu-img convert, we want an operation that zeroes out the whole
image if this can be done efficiently, but that returns an error
otherwise so we don't write explicit zeroes and immediately overwrite
them with the real data, potentially doubling the amount of data to be
written.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions