[libvirt] [PATCH] virsh edit command

Richard W.M. Jones rjones at redhat.com
Tue Jul 29 16:00:27 UTC 2008


On Tue, Jul 29, 2008 at 02:48:26PM +0100, John Levon wrote:
> On Tue, Jul 29, 2008 at 01:27:42PM +0100, Richard W.M. Jones wrote:
> 
> > One thing which is very apparent is that sys admins using libvirt /
> > virsh have a great deal of difficulty understanding "where the
> > configuration files have gone" and how to edit them.
> 
> .py files and the like were supposed to be human editable. I'm not
> convinced that libvirt XML is (heck, I certainly can't remember it).
> 
> Isn't the *right* solution to this problem to finally add property
> set/get interface for the things people actually want to modify, like
> boot flags?

Do you mean things like the current 'virsh attach-device' / 'virsh
detach-device' interface?

I'm responding here to a need that sysadmins feel they have -- to edit
the configuration file (even if it's XML).  Witness an endless series
of questions on this subject on the #virt channel yesterday.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the libvir-list mailing list