]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: correctly escape generated xml
authorEric Blake <eblake@redhat.com>
Fri, 19 Aug 2011 16:56:57 +0000 (10:56 -0600)
committerEric Blake <eblake@redhat.com>
Sat, 3 Sep 2011 14:10:09 +0000 (08:10 -0600)
commit8352e04d7e0dfef35da0f4282a665afd73911dac
tree470a530a32b2341c201d197658e42e63f9fc5606
parentf609cb85ca11d6d178972e46ebeb9985bf4ccfaf
snapshot: correctly escape generated xml

Commit 69278878 fixed one direction of arbitrarily-named snapshots,
but not the round trip path.  While auditing domain_conf, I found
a couple other instances that weren't escaping arbitrary strings.

* src/conf/domain_conf.c (virDomainFSDefFormat)
(virDomainGraphicsListenDefFormat, virDomainSnapshotDefFormat):
Escape arbitrary strings.
src/conf/domain_conf.c