]> xenbits.xensource.com Git - libvirt.git/commit
snapshot: conf: Use common parsing and formatting functions for source
authorPeter Krempa <pkrempa@redhat.com>
Tue, 12 Nov 2013 10:37:04 +0000 (11:37 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 2 Dec 2013 13:28:20 +0000 (14:28 +0100)
commit43f2ccdc73090bd03f64de4d58d46ffa0134d705
tree855b09b8117a25c8edd5765926abdd4ceeee4318
parent5f86d11e4a54276aba34bfbe237bf79d0c97e2e7
snapshot: conf: Use common parsing and formatting functions for source

Disk source elements for snapshots were using separate code from our
config parser. As snapshots can be stored on more than just regular
files, we will need the universal parser to allow us to expose a variety
of snapshot disk targets. This patch reuses the config parsers and
formatters to do the job.

This initial support only changes the code without any visible XML
change.
src/conf/snapshot_conf.c
src/conf/snapshot_conf.h