From: Sophia Rodina <rodinasop...@gmail.com>

*** When editing an XML of a domain, network or anything else, it is 
implemented in virsh-edit.c and currently included as a C file with the 
behaviour being influenced by EDIT_ macros. This should be changed so that the 
same file is not being included over and over again, but its function is called 
instead. The behaviour should be affected by callbacks in some control 
structure. ***

sonya rodina (1):
  "Don't include .c file for editing support" bug was fixed. Callbacks
    in special struct were added instead of EDIT-* macros

 tools/Makefile.am       |   1 +
 tools/virsh-domain.c    | 187 ++++++++++++++++++++++++++++++++++++------------
 tools/virsh-edit.c      |  79 ++++++--------------
 tools/virsh-edit.h      |  42 +++++++++++
 tools/virsh-interface.c |  64 +++++++++++++----
 tools/virsh-network.c   |  62 ++++++++++++----
 tools/virsh-nwfilter.c  |  64 +++++++++++++----
 tools/virsh-pool.c      |  64 +++++++++++++----
 tools/virsh-snapshot.c  |  76 ++++++++++++++------
 9 files changed, 464 insertions(+), 175 deletions(-)
 create mode 100644 tools/virsh-edit.h

-- 
2.1.4

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

Reply via email to