[virt-tools-list] Fwd: how to convert virtualbox vm instance to kvm instance, and then run kvm instance under virt-manager?

Qiubo Su (David Su) qiubosu at gmail.com
Mon Nov 19 19:13:07 UTC 2012


dear community,

no matter the guest vm instance is raw or qcow2 format, when run "virsh
dumpxml <guest-name>", the error are all the same, shown below:

virsh dumpxml ttylinux.img
error: failed to get domain 'ttylinux.img'
error: Domain not found: no domain with matching name 'ttylinux.img'

virsh dumpxml cloud.qcow2
error: failed to get domain 'cloud.qcow2'
error: Domain not found: no domain with matching name 'cloud.qcow2'

it is much appreciated if you can help to identify the problems.

thanks,
david su


On Tue, Nov 20, 2012 at 6:40 AM, Richard W.M. Jones <rjones at redhat.com>wrote:

> On Sat, Nov 17, 2012 at 10:40:31PM +1300, Qiubo Su (David Su) wrote:
> > dear virt-manager team,
> >
> > i run "VBoxManage clonehd --format RAW image.vdi image.img" to convert
> the
> > virtualbox .vdi vm instance to raw format, and with virt-manager to
> create
> > new vm with the raw format, it works fine, i.e. can start the new vm
> > instance successfully and the networking access is the same as before.
> >
> > but after run "qemu-img convert -f raw image.img -O qcow2 image.qcow" to
> > convert the raw format to qcow2 format, and with virt-manager to create
> new
> > vm with the qcow2 format, it doesn't work, i.e. get "no bootable device"
> > error when start the new vm with qcow2 format, no need to say the
> > networking access.
>
> I'm guessing this is because libvirt still thinks the format of the
> disk is raw instead of qcow2.  What is the output of:
>
>   virsh dumpxml <name-of-the-guest>
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat
> http://people.redhat.com/~rjones
> New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
> programs, test, and build Windows installers. Over 70 libraries supprt'd
> http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20121120/7876481a/attachment.htm>


More information about the virt-tools-list mailing list