Re: A RFE for libvirt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Got it. Thanks

----- Original Message -----
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> To: "shyu" <shyu@xxxxxxxxxx>
> Cc: libvirt-users@xxxxxxxxxx
> Sent: Wednesday, October 30, 2013 7:59:54 PM
> Subject: Re:  A RFE for libvirt
> 
> On Wed, Oct 30, 2013 at 07:49:22AM -0400, shyu wrote:
> > Hi libvirt guys,
> > 
> > I am an newbie to libvirt. There is an requirement for libvirt:
> > Every time I want to rename an guest by virsh command, I need to virsh
> > edit origin_guest(edit the name,delete/edit the uuid) after that a new
> > guest with the same configuration as origin_guest was defined,
> > then virsh undefine origin_guest.
> > Seems it's a little complex, so should be there an virsh command like
> > "virsh rename origin_guest new_guest"?
> > I know I can use virt-manager to rename an guest,but if there is an
> > virsh command can do it, I think it's much useful.
> 
> There's no libvirt API for guest rename, though one has often been
> requested. It would be non-trivial (potentially impossible) to make
> it work for running guests, but certainly doable for inactive guests.
> 
> Patches welcome from anyone interested in tackling it... If you focus
> on the inactive guest rename only, it would be a fairly simple piece
> of work that is a good introduction to writing code for libvirt & its
> QEMU/KVM driver.
> 
> Regards,
> Daniel
> --
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
> |: http://libvirt.org              -o-             http://virt-manager.org :|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
> 

-- 
Regards
shyu

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux