[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 20:14:52 UTC 2012


dear community,

when run "virsh list --all", get below return:

 Id Name                 State
----------------------------------

do it have to have a list domains known to libvirt? how?

for the same configuration in the same server, i.e. in the same
environment, if run "kvm image.extension", whether image.extension is RAW
format or qcow2 format, the VM instance can be started ok. but in
virt-manager, RAW format image can't be imported and started successfully,
but qcow2 format image converted from the same RAW fortmat image can't, why?

in both virt-manager importing and running "kvm image.extension" scenarios,
after the RAW format VM instance started successfully, the networking
access is different from before, e.g. when run "ifconfig", the interface is
eth1, while before it is eth0, very confused.

thanks,
david su

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

> On Tue, Nov 20, 2012 at 08:13:07AM +1300, Qiubo Su (David Su) wrote:
> > 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.
>
> 'virsh dumpxml' takes the name of the libvirt domain.  Use
> 'virsh list --all' to get a list of all domains known to libvirt.
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat
> http://people.redhat.com/~rjones
> libguestfs lets you edit virtual machines.  Supports shell scripting,
> bindings from many languages.  http://libguestfs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20121120/706685b7/attachment.htm>


More information about the virt-tools-list mailing list