]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Restore ctxt's node in right scope
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Thu, 22 Jul 2021 07:44:18 +0000 (15:44 +0800)
committerPavel Hrdina <phrdina@redhat.com>
Thu, 22 Jul 2021 07:55:39 +0000 (09:55 +0200)
commitd399a728f45356ae257227d555656f4ef8790362
treee41f0bde1f2d5f249f2d77af69b9f8f75a8a5de4
parentbcad39457d753b0fcad1e186c2223e91fe95150e
conf: Restore ctxt's node in right scope

We just found <qemu:commandline> is ignored in our xml. Further debug
shows that ctxt's node pointer isn't restored in virDomainSecDefParseXML(),
which leads to parsing of remaining elements failed.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/conf/domain_conf.c