I don't think this is related to qemu, it may be a libvirt change.

A simpler reproducer:
echo "<volume><name>test</name><target><format 
type="qcow2"/></target><capacity>0</capacity></volume>" > vol.xml
virsh vol-create uvtool vol.xml

shows the error:
error: internal error: Child process (/usr/bin/qemu-img create -f qcow2 -o 
compat=0.10 /var/lib/uvtool/libvirt/images/test) unexpected exit status 1: 
qemu-img: /var/lib/uvtool/libvirt/images/test: Image creation needs a size 
parameter

However if you run the same command in an older version this works.
The qemu-img command fails in all versions, so I suspect a libvirt change.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1459748

Title:
  libvirt.libvirtError: internal error: Child process () unexpected exit
  status 1: qemu-img: Image creation needs a size parameter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/uvtool/+bug/1459748/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to