Hi, I am using libvirt Java bindings. How can I rename a domain? Is there an API to do this? Thanks, -Ganesh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20101012/a9defb34/attachment.htm>
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