diff options
author | Eric Blake | 2020-05-28 11:44:05 +0200 |
---|---|---|
committer | Max Reitz | 2020-07-06 10:34:14 +0200 |
commit | 365fed5111b06d31c1632af63c7528dfe49d62a2 (patch) | |
tree | 7ccc39983dc87c09eb6a98bdc1b5647b10de7477 /pc-bios/openbios-sparc32 | |
parent | block: drop unallocated_blocks_are_zero (diff) | |
download | qemu-365fed5111b06d31c1632af63c7528dfe49d62a2.tar.gz qemu-365fed5111b06d31c1632af63c7528dfe49d62a2.tar.xz qemu-365fed5111b06d31c1632af63c7528dfe49d62a2.zip |
qed: Simplify backing reads
The other four drivers that support backing files (qcow, qcow2,
parallels, vmdk) all rely on the block layer to populate zeroes when
reading beyond EOF of a short backing file. We can simplify the qed
code by doing likewise.
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20200528094405.145708-11-vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'pc-bios/openbios-sparc32')
0 files changed, 0 insertions, 0 deletions