dear community,<br><br>when run "virsh list --all", get below return:<br><br> Id Name                 State<br>----------------------------------<br><br>do it have to have a list domains known to libvirt? how?<br>

<br>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?<br>
<br>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.<br>

<br>thanks,<br>david su<br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 8:23 AM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Tue, Nov 20, 2012 at 08:13:07AM +1300, Qiubo Su (David Su) wrote:<br>
> dear community,<br>
><br>
> no matter the guest vm instance is raw or qcow2 format, when run "virsh<br>
> dumpxml <guest-name>", the error are all the same, shown below:<br>
><br>
> virsh dumpxml ttylinux.img<br>
> error: failed to get domain 'ttylinux.img'<br>
> error: Domain not found: no domain with matching name 'ttylinux.img'<br>
><br>
> virsh dumpxml cloud.qcow2<br>
> error: failed to get domain 'cloud.qcow2'<br>
> error: Domain not found: no domain with matching name 'cloud.qcow2'<br>
><br>
> it is much appreciated if you can help to identify the problems.<br>
<br>
</div>'virsh dumpxml' takes the name of the libvirt domain.  Use<br>
'virsh list --all' to get a list of all domains known to libvirt.<br>
<div><br>
Rich.<br>
<br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
</div>libguestfs lets you edit virtual machines.  Supports shell scripting,<br>
bindings from many languages.  <a href="http://libguestfs.org" target="_blank">http://libguestfs.org</a><br>
</blockquote></div><br>