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
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: qemu:// /session --name test-import --ram=256 --disk path=<path to existing qemu non-raw image>.qcow2 --import qemu:// /session test-import # shows that disk cannot be found
$ virt-install --connect=
$ virt-viewer --connect=
WORKAROUND: libvirt- migrate- qemu-disks
After importing, use /usr/sbin/