]> xenbits.xensource.com Git - libvirt.git/commit
domain_conf: Introduce VIR_DOMAIN_DEF_PARSE_SKIP_POST_PARSE
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Sep 2016 11:59:52 +0000 (13:59 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 26 Sep 2016 14:50:12 +0000 (16:50 +0200)
commitc0f90799bc7fa4b690ead6a592806378a243873c
tree284f341398fd8eac78a9963967520375f47c29ba
parent4172ae371bc04fc442a1b69142d73198c325d82f
domain_conf: Introduce VIR_DOMAIN_DEF_PARSE_SKIP_POST_PARSE

This is an internal flag that prevents our two entry points to
XML parsing (virDomainDefParse and virDomainDeviceDefParse) from
running post parse callbacks. This is expected to be used in
cases when we already have full domain/device XML and we are just
parsing it back (i.e. virDomainDefCopy or virDomainDeviceDefCopy)

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h