In solaris in Man page of xm  it show rename option


rename  oldname newname

         Renames the domain oldname to newname.


On Tue, Mar 4, 2008 at 4:17 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
On Tue, Mar 04, 2008 at 11:43:10AM +0530, Ajishrao.r wrote:
> xm has rename option, without reboot.

Right, but not in the manpage.

> Is theirs any specific reason why we don't have rename API?

Not particularly, just waiting for a patch.

The QEMU driver looks like it could be easily modified to support
changing the name, which is just stored within a memory structure
qemud_vm_def.

Rich.

--
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top
is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top



--
Thanks&Regards
Ajeesh