]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: domain: Introduce virDomainDiskDefParseSource
authorPeter Krempa <pkrempa@redhat.com>
Wed, 14 Apr 2021 14:35:52 +0000 (16:35 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 19 Apr 2021 12:43:58 +0000 (14:43 +0200)
commitfb0238414e5a99d18a348f2423816d4fa21071c1
tree897dfa10503fb86ee55223e4814c706ccbc4c9da
parent5c56538937ec7ed68d476f99e5fceb3dc48db82a
conf: domain: Introduce virDomainDiskDefParseSource

Add a helper function which will parse the source portion of a <disk>.

The idea is to replace *virDomainDiskDefParse with
VIR_DOMAIN_DEF_PARSE_DISK_SOURCE with the new helper in the future.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms