Re: 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,

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


[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