aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-05-06 15:25:36 +0200
committerKevin Wolf <kwolf@redhat.com>2014-05-19 11:36:48 +0200
commite88ae2264d93f98e4b656fa76555c745abe57684 (patch)
tree43c4370b441d90d8693c796ed6dde0b8c1525ed6 /block
parent1a381811b495651ddfc2b50d7c8cfaaf375816b0 (diff)
downloadqemu-e88ae2264d93f98e4b656fa76555c745abe57684.zip
qemu-e88ae2264d93f98e4b656fa76555c745abe57684.tar.gz
qemu-e88ae2264d93f98e4b656fa76555c745abe57684.tar.bz2
block: Fix bdrv_is_allocated() for short backing files
bdrv_is_allocated() shouldn't return true for sectors that are unallocated, but after the end of a short backing file, even though such sectors are (correctly) marked as containing zeros. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions