]> git.proxmox.com Git - qemu.git/commit
block: return BDRV_BLOCK_ZERO past end of backing file
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Sep 2013 17:00:32 +0000 (19:00 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 6 Sep 2013 13:25:09 +0000 (15:25 +0200)
commitf0ad5712d5d15ff272b9e107910be4aae468fb3d
tree27c4b94a31686151d51f5fa75660a1f63ea478c0
parent415b5b013ce74126e71459b922a92377918ae2ef
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>
block.c