summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorPaolo Bonzini2013-09-04 19:00:32 +0200
committerStefan Hajnoczi2013-09-06 15:25:09 +0200
commitf0ad5712d5d15ff272b9e107910be4aae468fb3d (patch)
tree27c4b94a31686151d51f5fa75660a1f63ea478c0 /include/exec
parentblock: use bdrv_has_zero_init to return BDRV_BLOCK_ZERO (diff)
downloadqemu-f0ad5712d5d15ff272b9e107910be4aae468fb3d.tar.gz
qemu-f0ad5712d5d15ff272b9e107910be4aae468fb3d.tar.xz
qemu-f0ad5712d5d15ff272b9e107910be4aae468fb3d.zip
block: return BDRV_BLOCK_ZERO past end of backing file
If the sectors are unallocated and we are past the end of the backing file, they will read as zero. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions