2017-05-12 16:32 GMT+03:00 Vasiliy Tolstov <v.tolstov(a)selfip.ru>:
Also, specify compat in xml desc of new disk helps with comat
version,
but image size grows:
image: new2.qcow2
Sorry for noise. I found root case - old.qcow2 have internal
compression enabled when created qcow2 file, but on new image libvirt
does not know about compression flag and not pass it to qemu-img
binary.
So qemu-img detect that original image have compression and new image
does not have it and transparently decompress it.
So this is "feature" of qemu-img and not bug in libvirt.
--
Vasiliy Tolstov,
e-mail: v.tolstov(a)selfip.ru