summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorPeter Lieven2013-10-24 12:06:54 +0200
committerKevin Wolf2013-11-28 10:30:51 +0100
commit4ce786914b745a144a9eda1ea33f3ff98328c527 (patch)
tree2c20f0622ce18189318f265ab2224f7732b692fa /block
parentblock: add logical block provisioning info to BlockDriverInfo (diff)
downloadqemu-4ce786914b745a144a9eda1ea33f3ff98328c527.tar.gz
qemu-4ce786914b745a144a9eda1ea33f3ff98328c527.tar.xz
qemu-4ce786914b745a144a9eda1ea33f3ff98328c527.zip
block: add wrappers for logical block provisioning information
This adds 2 wrappers to read the unallocated_blocks_are_zero and can_write_zeroes_with_unmap info from the BDI. The wrappers are required to check for the existence of a backing_hd and if the devices are opened with the correct flags. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Peter Lieven <pl@kamp.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions