[Libvir] Any API available for renaming the guest OS

Ajishrao.r ajishrao at gmail.com
Tue Mar 4 11:07:40 UTC 2008


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 at 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 <http://et.redhat.com/%7Erjonesvirt-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<http://et.redhat.com/%7Erjones/virt-top>
>



-- 
Thanks&Regards
Ajeesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080304/8cde43d1/attachment-0001.htm>


More information about the libvir-list mailing list