Re: how to convert virtualbox vm instance to kvm instance, and then run kvm instance under virt-manager?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux