]> xenbits.xensource.com Git - libvirt.git/commit
conf: Skip post parse callbacks when creating copy
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Sep 2016 12:21:26 +0000 (14:21 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 26 Sep 2016 14:50:12 +0000 (16:50 +0200)
commit581b7756af18dcf84b57d9947978725d2dfbfc18
treed536da22babb930b2b8128ac43cf5188df5085c1
parentc0f90799bc7fa4b690ead6a592806378a243873c
conf: Skip post parse callbacks when creating copy

When creating a copy of virDomainDef we save ourselves the
trouble of writing deep-copy functions and just format and parse
back domain/device XML. However, the XML we are parsing was
already fully formatted - there is no reason to run post parse
callbacks (which fill in blanks - there are none!).

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