[libvirt] [PATCH v3 0/2] Make virsh *edit more bearable

Michal Privoznik mprivozn at redhat.com
Fri Jun 1 13:01:05 UTC 2012


If there's an error in XML, all changes made by user are lost.
Users (read /me) tends to get angry with this. Allow them to
get back and re-edit.

diff to v2:
-some bugfixes (like flawn in snapshot edit)
-new EDIT_FREE to avoid leaks
(Both suggested by Eric)

diff to v1:
-Eric's review suggestions included

Michal Privoznik (2):
  virsh: Switch from generated cmd*Edit commands to nongenerated
  virsh: Allow users to reedit rejected XML

 cfg.mk             |    4 +-
 po/POTFILES.in     |    1 +
 tools/Makefile.am  |   40 +----
 tools/console.c    |   40 +++--
 tools/console.h    |    2 +
 tools/virsh-edit.c |  148 +++++++++++++++
 tools/virsh.c      |  509 +++++++++++++++++++++++-----------------------------
 7 files changed, 407 insertions(+), 337 deletions(-)
 create mode 100644 tools/virsh-edit.c

-- 
1.7.8.5




More information about the libvir-list mailing list