[libvirt] [PATCH] virsh edit command

John Levon levon at movementarian.org
Tue Jul 29 16:27:09 UTC 2008


On Tue, Jul 29, 2008 at 05:25:57PM +0100, Daniel P. Berrange wrote:

> > I actually started at one point on a graphical libvirt XML editor,
> > although I fairly quickly realised it would be a Sisyphean task
> > because the format isn't tremendously well defined[1] and it keeps
> > changing.  Also because there's a lot of overlap between virt-install
> > and (potential) virt-config-editor.
> > 
> > I do genuinely think that having 'virsh edit' is better than the
> > current situation.  Currently the advice that everyone gives is to do:
> > 
> >   virsh dumpxml foo > foo.xml
> >   vi foo.xml
> >   virsh define foo.xml
> > 
> > which is of course precisely the same as what 'virsh edit' does :-)
> 
> Yes, I think this command is worthwhile adding. We should also try to
> address the problem that John raises too, but I see that as a parallel
> task - and a far more involved piece of work to undertake :-)

Right, and it'll probably never happen if we band-aid over the problem.
Ah well.

john




More information about the libvir-list mailing list