On Wed, Mar 13, 2013 at 03:58:13PM +0100, Paolo Bonzini wrote:
> If zero clusters are erroneously treated as unallocated, "qemu-img rebase"
> will copy the backing file's contents onto the cluster.
> 
> The bug existed also in image streaming, but since the root cause was in
> qcow2's is_allocated implementation it is enough to test it with qemu-img.
> 
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
> ---
>  tests/qemu-iotests/050     | 75 
> ++++++++++++++++++++++++++++++++++++++++++++++
>  tests/qemu-iotests/050.out | 17 +++++++++++
>  tests/qemu-iotests/group   |  1 +
>  3 files changed, 93 insertions(+)
>  create mode 100755 tests/qemu-iotests/050
>  create mode 100644 tests/qemu-iotests/050.out

Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan

Reply via email to