]> git.proxmox.com Git - qemu.git/commit - qemu-io.c
qemu-io: add write -z option for bdrv_co_write_zeroes
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Tue, 7 Feb 2012 13:27:29 +0000 (13:27 +0000)
committerKevin Wolf <kwolf@redhat.com>
Thu, 9 Feb 2012 15:17:50 +0000 (16:17 +0100)
commit71b58b82dac1e1dc5e08a005a14bbcafecbd9e2a
treea11527383b356d6071bc301c46b457b4d5732831
parent0e71be1932adfad27d564675f89a468fc8b92b1f
qemu-io: add write -z option for bdrv_co_write_zeroes

Extend the qemu-io write command with the -z option to call
bdrv_co_write_zeroes().  Exposing the zero write interface from qemu-io
allows us to write tests that exercise this new block layer interface.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-io.c