qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/2] qcow2: Avoid making the L1 table too big


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH 0/2] qcow2: Avoid making the L1 table too big
Date: Tue, 5 Jul 2016 19:37:12 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

On 15.06.2016 17:36, Max Reitz wrote:
> See https://bugs.launchpad.net/qemu/+bug/1592590 for a bug report.
> 
> Reproducer:
> 
> $ ./qemu-img create -f qcow2 test.qcow2 1M
> Formatting 'test.qcow2', fmt=qcow2 size=1048576 encryption=off
> cluster_size=65536 lazy_refcounts=off refcount_bits=16
> $ ./qemu-img resize test.qcow2 100000T
> Image resized.
> $ ./qemu-img info test.qcow2
> qemu-img: Could not open 'test.qcow2': Active L1 table too large
> 
> After this series:
> 
> $ ./qemu-img resize test.qcow2 100000T
> qemu-img: Error resizing image: File too large
> 
> 
> Max Reitz (2):
>   qemu-img: Use strerror() for generic resize error
>   qcow2: Avoid making the L1 table too big
> 
>  block/qcow2-cluster.c | 2 +-
>  qemu-img.c            | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied to my block branch.

Max

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]