]> xenbits.xensource.com Git - libvirt.git/commit
conf: domain: Split up virDomainStorageHostParse and rename it
authorPeter Krempa <pkrempa@redhat.com>
Thu, 20 Jul 2017 11:26:29 +0000 (13:26 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 24 Jul 2017 08:55:44 +0000 (10:55 +0200)
commita78288861c6aa0edfb09e651d1e197ac69181114
tree5e308051b8fdeab74596f1387a7c01ddf75feac1
parent8444419f8c4c025a1f99726fa6c2f1cd0bb9298b
conf: domain: Split up virDomainStorageHostParse and rename it

Split out parsing of one host into a separate function and add a new
function to loop through all the host XML nodes.

This change removes multiple levels of nesting due to the old XML
parsing approach used.
src/conf/domain_conf.c