From: Thomas Huth <thuth@redhat.com>
To: Changlimin <changlimin@h3c.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Cc: Qemu-block <qemu-block@nongnu.org>, Max Reitz <mreitz@redhat.com>
Subject: Re: [Qemu-devel] qemu-img crash when resize a qcow2 file created with preallocation=full/falloc .
Date: Wed, 25 Oct 2017 09:22:04 +0200 [thread overview]
Message-ID: <93ce91e1-d1cf-5781-c995-a2d82f5d515a@redhat.com> (raw)
In-Reply-To: <BC29A004BA570342A4CC0044A3845572CFCE4DB9@H3CMLB12-EX.srv.huawei-3com.com>
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
next prev parent reply other threads:[~2017-10-25 7:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-24 3:28 [Qemu-devel] qemu-img crash when resize a qcow2 file created with preallocation=full/falloc Changlimin
2017-10-25 7:22 ` Thomas Huth [this message]
2017-10-25 7:26 ` Changlimin
2017-10-25 13:06 ` Max Reitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=93ce91e1-d1cf-5781-c995-a2d82f5d515a@redhat.com \
--to=thuth@redhat.com \
--cc=changlimin@h3c.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).