]> xenbits.xensource.com Git - libvirt.git/commit
Introduce virXMLSaveFile as a wrapper for virFileRewrite
authorJiri Denemark <jdenemar@redhat.com>
Thu, 6 Oct 2011 09:57:06 +0000 (11:57 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 27 Oct 2011 18:13:06 +0000 (20:13 +0200)
commitfef8127c5f4660f442adc02e28ebbe024d0fa6b6
tree9b9d920a948a909d98229ad742f1de6cc9037136
parent559644ddd2fd7065220331d11197bf54f6484231
Introduce virXMLSaveFile as a wrapper for virFileRewrite

Every time we write XML into a file we call virEmitXMLWarning to write a
warning that the file is automatically generated. virXMLSaveFile
simplifies this into a single step and makes rewriting existing XML file
safe by using virFileRewrite internally.
src/libvirt_private.syms
src/util/util.c
src/util/xml.c
src/util/xml.h