Comment 0 for bug 655392

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Binary package hint: virtinst

libvirt 0.8.3 and later (and the upcoming libvirt update for lucid-security) does not probe qemu disks for the image format and defaults to 'raw' when the format is not specified in the XML. This breaks virt-install --import because it does not allow for specifying a disk format and does not specify a format in the XML.

TEST CASE:
$ virt-install --connect=qemu:///session --name test-import --ram=256 --disk path=<path to existing qemu non-raw image>.qcow2 --import
$ virt-viewer --connect=qemu:///session test-import # shows that disk cannot be found

WORKAROUND:
After importing, use /usr/sbin/libvirt-migrate-qemu-disks