On Mon, 10 Aug 2015 15:02:03 -0600
Jim Fehlig <jfehlig(a)suse.com> wrote:
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
Hi Jim,
If everything goes alright with this series and it gets merged, I can
definitely look into adding support for other drivers.
Tomas