Re: [libvirt] should active block commit ever be allowed to show 0 total progress?

2015-01-13 Thread Michal Privoznik
On 12.01.2015 23:31, Eric Blake wrote: I was trying to work on a libvirt bug, when I discovered the following: $ qemu-img create -f qcow2 a.qcow2 10M Formatting 'a.qcow2', fmt=qcow2 size=10485760 encryption=off cluster_size=65536 lazy_refcounts=off $ qemu-img create -f qcow2 \ -obacking_file=

[libvirt] should active block commit ever be allowed to show 0 total progress?

2015-01-12 Thread Eric Blake
I was trying to work on a libvirt bug, when I discovered the following: $ qemu-img create -f qcow2 a.qcow2 10M Formatting 'a.qcow2', fmt=qcow2 size=10485760 encryption=off cluster_size=65536 lazy_refcounts=off $ qemu-img create -f qcow2 \ -obacking_file=a.qcow2,backing_fmt=qcow2 b.qcow2 Formatti