The latest version from git e822e81e350825dd94f41ee2538ff1432b812eb9
Also ubuntu 17.10

-----Original Message-----
From: Thomas Huth [mailto:th...@redhat.com] 
Sent: Wednesday, October 25, 2017 3:22 PM
To: changlimin 00148 (Cloud); qemu-devel@nongnu.org
Cc: Qemu-block; Max Reitz
Subject: Re: [Qemu-devel] qemu-img crash when resize a qcow2 file created with 
preallocation=full/falloc .

On 24.10.2017 05:28, Changlimin wrote:
> Hi,
> I am glad to see that qcow2 file created with preallocation=full/falloc can 
> be resized. But when I test it, qemu-img crashs.
> qemu-img: block/qcow2-refcount.c:530: qcow2_refcount_area: Assertion 
> `!(start_offset % s->cluster_size)' failed.
> 
> These are commands:
> qemu-img create -f qcow2 -o preallocation=full full.img 1G qemu-img 
> resize --preallocation=full full.img +1G

Which version of qemu-img are you using? v2.10 or the latest git master branch?

 Thomas

Reply via email to