qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] qemu-img crash when resize a qcow2 file created with pr


From: Max Reitz
Subject: Re: [Qemu-devel] qemu-img crash when resize a qcow2 file created with preallocation=full/falloc .
Date: Wed, 25 Oct 2017 15:06:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 2017-10-25 09:22, Thomas Huth wrote:
> 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

Hi,

This should be fixed in my block branch
(https://github.com/XanClic/qemu/commits/block)
-- but unfortunately I haven't been able to send a pull request yet.


Thanks for the report!

Max

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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