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

Richard W.M. Jones rjones at redhat.com
Mon Nov 19 17:40:45 UTC 2012


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




More information about the virt-tools-list mailing list