]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: domain: Parse backingStore with VIR_DOMAIN_DEF_PARSE_DISK_SOURCE
authorPeter Krempa <pkrempa@redhat.com>
Fri, 2 Aug 2019 13:02:50 +0000 (15:02 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 16 Aug 2019 11:26:10 +0000 (13:26 +0200)
commit4807051b02e5a17f92baafb3b2db3d379d1a32a4
tree0092248438ca888ef6f4cc0586a136195c42e70f
parent41ac166c6c18f2057abea331d40fa3c91c814e43
conf: domain: Parse backingStore with VIR_DOMAIN_DEF_PARSE_DISK_SOURCE

The only code path which calls the parser with the
VIR_DOMAIN_DEF_PARSE_DISK_SOURCE is from qemuDomainBlockCopy. Since that
code path can properly handle backing chains for the disk and it's
desired to pass the parsed chains to the block copy code remove the
condition which prevents parsing the <backingStore> element.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c