]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: Allow for post-parse override
authorEric Blake <eblake@redhat.com>
Tue, 16 Apr 2019 02:59:44 +0000 (21:59 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 17 Apr 2019 02:55:59 +0000 (21:55 -0500)
commitdf2ae0d0429049c52b8f693c84a1e9ac99e06f0a
treef8b6ad57d1b373763ce120079d14374d0ff6db40
parent5ba4d81ce91eb6e075f5c9114812c46e92d0e2d9
snapshot: Allow for post-parse override

Wire up the accessor functions necessary for the testsuite to install
an alternative post-parse handler from normal drivers. I could have
modified the signature for virDomainXMLOptionNew() to take another
parameter, but thought it was easier to add a new set function rather
than chase down all existing callers. Until code actually sets the
override, there is no change in behavior.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/snapshot_conf.c
src/libvirt_private.syms