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