
On 08/10/2015 01:59 PM, Tomas Meszaros wrote:
This is an effort to implement domain rename API. Presented patch series consists of the following: virDomainRename API implementation for qemu, implementation of the virsh command domrename and the additional support code.
The idea behind this endeavor is to provide convenient and safe way to rename a domain.
Instead of the:
virsh dumpxml domain > domain.xml (change domain name in domain.xml) virsh undefine domain virsh define domain.xml
user can simply type:
virsh domrename foo bar
or call virDomainRename() API and domain "foo" will be renamed to "bar".
Cool! Although I haven't reviewed it closely, this series is looking good. But I do have one small question: Do you have the time and energy to provide an implementation for the Xen libxl driver? :-). Regards, Jim