[libvirt] changing compat when create volume from volume via libvirt api

Vasiliy Tolstov v.tolstov at selfip.ru
Fri May 12 13:37:30 UTC 2017

2017-05-12 16:32 GMT+03:00 Vasiliy Tolstov <v.tolstov at 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
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 at selfip.ru

More information about the libvir-list mailing list