summaryrefslogtreecommitdiff
path: root/qdev-monitor.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-05-07 21:16:45 -0600
committerMax Reitz <mreitz@redhat.com>2016-05-12 15:33:24 +0200
commitc2e001cc829031f9c2e2c364c77861e3f75ac871 (patch)
tree259442e7fe16dcc53e51d0481074d92b4d845020 /qdev-monitor.c
parent770e0e0e808c6cd361c718ca1a936ed18864c69e (diff)
downloadqemu-c2e001cc829031f9c2e2c364c77861e3f75ac871.zip
qemu-io: Add 'write -z -u' to test MAY_UNMAP flag
Make it easier to control whether the BDRV_REQ_MAY_UNMAP flag can be passed through a write_zeroes command, by adding the '-u' flag to qemu-io 'write -z' and 'aio_write -z'. To be useful, the device has to be opened with BDRV_O_UNMAP (done by default in qemu-io, but can be made explicit with '-d unmap'). Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 1462677405-4752-7-git-send-email-eblake@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'qdev-monitor.c')
0 files changed, 0 insertions, 0 deletions