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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]