On 10/12/2010 12:58 PM, Ganesh Pagade wrote:
> Hi,
> 
> I am using libvirt Java bindings. How can I rename a domain? Is there an API
> to do this?
> 

There is no API for it. The only way to do it is basically:

virsh dumpxml myvm > foo.xml
<edit foo.xml, change the name>
virsh undefine myvm
virsh define foo.xml

- Cole

_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to