Fwd: 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]

 



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@xxxxxxxxxx> 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



[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