]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: implement XML parsing/formating for <dataStore> element of a storage <source>
authorNikolai Barybin <nikolai.barybin@virtuozzo.com>
Wed, 20 Nov 2024 15:48:39 +0000 (18:48 +0300)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 25 Nov 2024 21:31:13 +0000 (22:31 +0100)
commitb3171cf8da306c78ac892b7c4759417607853a77
treea8b757017c8d433167e22cb1215da8621a130620
parent28d88e9fc31948c70ebc8dd8e4d38b951fd52f6d
conf: implement XML parsing/formating for <dataStore> element of a storage <source>

Introduce parsing and formatting of <dataStore> element. The <dataStore
represents a different storage volume meant for storing the actual
blocks of guest-visible data. The original disk source is then just a
metadata storage for any advanced features.

This currently works only for 'qcow2' images.

Signed-off-by: Nikolai Barybin <nikolai.barybin@virtuozzo.com>
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/conf/domain_conf.c
src/conf/domain_validate.c