[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qemu-iotests: add tests for rebasing zero clust
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] qemu-iotests: add tests for rebasing zero clusters |
Date: |
Thu, 14 Mar 2013 11:04:25 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 <address@hidden>
> ---
> 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