[virt-tools-list] how to define an existing domU

Cole Robinson crobinso at redhat.com
Wed Sep 23 13:00:38 UTC 2009


On 09/15/2009 06:13 AM, Aclhk Aclhk wrote:
> platform:
> centos 5.3, 2.6.18-128.7.1.el5xen, 
> Compiled against library: libvir 0.3.3
> Using library: libvir 0.3.3
> Using API: Xen 3.0.1
> Running hypervisor: Xen 3.4.0
> 
> i migrated a domU offline as below:
> 
> cp domU config to /etc/xen/domu
> dd if=domu.img of=/dev/vg/domu bs=32M
> xm createt domu
> xm list (domu was created and running)
> xm shutdown domu
> 
> [root at localhost xen]# virt-clone -o domu -n domu1 -f /dev/vg/domu1
> ERROR:Â  Domain domu is not found
> 
> pls kindly advise.
> 

The VM 'domu' needs to show up in 'virsh list --all' output in order for
virt-clone to work, since virt-clone uses libvirt. What is the output of
'virsh list --all'?

- Cole




More information about the virt-tools-list mailing list