diff options
author | Fam Zheng | 2013-09-18 13:14:14 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2013-09-20 19:27:26 +0200 |
commit | bcb9d66e8590151967e1dbe3724eec7ec71392e0 (patch) | |
tree | 1e2d79ec373aa30aade110774e6df3f452d88201 /scripts/qapi-types.py | |
parent | qcow2: Correct snapshots size for overlap check (diff) | |
download | qemu-bcb9d66e8590151967e1dbe3724eec7ec71392e0.tar.gz qemu-bcb9d66e8590151967e1dbe3724eec7ec71392e0.tar.xz qemu-bcb9d66e8590151967e1dbe3724eec7ec71392e0.zip |
block: don't lose data from last incomplete sector
To read the last sector that is not aligned to sector boundary, current
code for growable backends, since commit 893a8f6 "block: Produce zeros
when protocols reading beyond end of file", drops the data and directly
returns zeroes. That is incorrect.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions