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
signature.asc
Description: OpenPGP digital signature