Steps:
# apt-get install virtinst libvirt-bin
[2] Shutdown the virtual machine that you want to clone using one of the following commands :
# xm shutdown
OR
# virsh -c xen:///
virsh # shutdown
[3] Use the virt-clone command to create the clone and follow the questions:
# virt-clone --connect xen:/// --prompt
What is the name of the original virtual machine?
zimbra
What is the name for the cloned virtual machine?
zimbra_clone1
What would you like to use as the cloned disk (file path) for '/home/virtual-images/zimbra_ubuntu.img'?
/home/virtual-images/zimbra_ubuntu_clone.img
Cloning zimbra_ubuntu.img | 117 GB 09:19
Clone 'zimbra_clone1' created successfully.
[4] List the newly cloned domU image :
# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 9844 8 r----- 124053.5
centos 4 1996 1 -b---- 1360.4
debian 1587 1 0.0
freebsd9 3 1024 1 -b---- 813.4
godavari 1 1024 1 -b---- 121.3
server2008 2 4142 1 -b---- 1403.5
zimbra 2048 1 8729.8
zimbra_clone1 2048 2 0.0
[4] Boot the new cloned VM and make changes to its networking settings
[5] Start both the old and the new VM

