virt-sparsify in.qcow2 out.qcow2 now is broken:
debugging it gives:
libguestfs: trace: disk_create "/tmp/sparsify4e60f4.qcow2" "qcow2" -1 "backingfile:/var/lib/libvirt/images/FujitsuWin10v2.qcow2" "compat:1.1"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o backing_file=/var/lib/libvirt/images/FujitsuWin10v2.qcow2,compat=1.1
libguestfs: command: run: \ /tmp/sparsify4e60f4.qcow2
qemu-img: /tmp/sparsify4e60f4.qcow2: Backing file specified without backing format
Detected format of qcow2.libguestfs: trace: disk_create = -1 (error)
and even if I add
-o backing_fmt=qcow
it does not work since the option is not passed to qemu-img, despite
what the man page says.
Best