aboutsummaryrefslogtreecommitdiff
path: root/hw/xenpv
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-05-17 18:42:23 +0200
committerKevin Wolf <kwolf@redhat.com>2016-05-19 16:45:31 +0200
commit5efdf53227809a0da436dd63d7ed19c99044ecbd (patch)
tree7e5922f4e1ec4cc750b83a8ab0d8614b95b0fe07 /hw/xenpv
parentf575f145f4fa97fdbb9bbb4df62dfeada3f15dc4 (diff)
qcow2: Fix write_zeroes with partially allocated backing file cluster
In order to correctly check whether a given cluster is read as zero, we don't only need to check whether bdrv_get_block_status_above() sets BDRV_BLOCK_ZERO, but also if all sectors for the whole cluster have the same status. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Denis V. Lunev <den@openvz.org>
Diffstat (limited to 'hw/xenpv')
0 files changed, 0 insertions, 0 deletions