]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Avoid checking root element name in virDomainDefParseNode
authorJiri Denemark <jdenemar@redhat.com>
Mon, 9 Sep 2019 20:26:12 +0000 (22:26 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 10 Sep 2019 09:54:26 +0000 (11:54 +0200)
commit29307fa84da1c572b5f44c32343103b5ed98d42a
tree4267015a692bae2441f56a52d75f71183eb02da3
parent9bcbc52ef19b75b6c078d6aa841510160e2f5a40
conf: Avoid checking root element name in virDomainDefParseNode

The only caller for which this check makes sense is virDomainDefParse.
Thus the check should be moved there.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c