]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: domain: Invoke post-parse callbacks after parsing private XML parts
authorPeter Krempa <pkrempa@redhat.com>
Mon, 28 May 2018 09:36:45 +0000 (11:36 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 29 May 2018 08:23:24 +0000 (10:23 +0200)
commitebd2983e25d9c0c86a88678a7ed2e6b5938ec99a
tree8003e7186b6306bb7b966a301dec61107f989964
parentfe9454c719d8ae72d2b93808ff0e9d2e02554218
conf: domain: Invoke post-parse callbacks after parsing private XML parts

When parsing status XML the post-parse callbacks can't access any
private data present in the status XML as the private bits were parsed
after invoking post-parse callbacks.

Move the invocation so that everything is parsed first.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/conf/domain_conf.c