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

[libvirt] [PATCH 0/4] Make rewriting XML files more robust



Jiri Denemark (4):
  Introduce virFileSync
  Introduce virFileRewrite for safe file rewrite
  Introduce virXMLSaveFile as a wrapper for virFileRewrite
  Use virXMLSaveFile when writing XML config

 src/conf/domain_conf.c   |   32 +-------------------
 src/conf/network_conf.c  |   34 +--------------------
 src/conf/nwfilter_conf.c |   68 ++----------------------------------------
 src/conf/storage_conf.c  |   37 ++---------------------
 src/libvirt_private.syms |    3 ++
 src/qemu/qemu_domain.c   |   19 +-----------
 src/util/util.c          |    4 ++-
 src/util/virfile.c       |   72 ++++++++++++++++++++++++++++++++++++++++++++++
 src/util/virfile.h       |    8 +++++
 src/util/xml.c           |   36 +++++++++++++++++++++++
 src/util/xml.h           |    5 +++
 11 files changed, 141 insertions(+), 177 deletions(-)

-- 
1.7.7


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