]> xenbits.xensource.com Git - libvirt.git/commit
conf: Refactor virDomainDiskSourcePoolDefParse
authorPeter Krempa <pkrempa@redhat.com>
Wed, 6 Nov 2013 14:15:18 +0000 (15:15 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 7 Nov 2013 09:12:49 +0000 (10:12 +0100)
commit6e037015a41a31534aca5fde207dc81b94497456
tree06fa9097fdac6118047ca197382de79671af39a9
parentadb44955c452f96be2ae1d02d49ea68367d54109
conf: Refactor virDomainDiskSourcePoolDefParse

For some strange reason virDomainDiskSourcePoolDefParse accessed def of
the disk and allocated the pool object in it. To avoid the need to carry
over the disk definition object, refactor this function to return the
allocated object instead.
src/conf/domain_conf.c