]> xenbits.xensource.com Git - libvirt.git/commit
snapshot: conf: Enforce absolute paths on disk and memory images
authorPeter Krempa <pkrempa@redhat.com>
Wed, 6 Aug 2014 13:17:00 +0000 (15:17 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 6 Aug 2014 15:58:26 +0000 (17:58 +0200)
commit29bb066915d0d0480b65fe404479babf5e076ac7
tree2d692d450127f73e4ee90aee8d0df84e4db7334e
parentd26e810838fad49294c6650ed05e8145ae6bb2ba
snapshot: conf: Enforce absolute paths on disk and memory images

RNG schema as well as the qemu driver requires absolute paths for memory
and disk snapshot image files but the XML parser was not enforcing it.
Add checks to avoid problems in qemu where the configuration it creates
is invalid.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1126329
src/conf/snapshot_conf.c