]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Introduce <metadata_cache> subelement of <disk><driver>
authorPeter Krempa <pkrempa@redhat.com>
Wed, 6 Jan 2021 17:20:22 +0000 (18:20 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 8 Jan 2021 14:27:00 +0000 (15:27 +0100)
commit154df5840d800661a6988ccba59facd28ac06599
tree1c239e5c99d75d2627fcb0674b0761834b74c135
parenta01726e9cf426e8cbe553139c3cee888de63c1f2
conf: Introduce <metadata_cache> subelement of <disk><driver>

In certain specific cases it might be beneficial to be able to control
the metadata caching of storage image format drivers of a hypervisor.

Introduce XML machinery to set the maximum size of the metadata cache
which will be used by qemu's qcow2 driver.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/formatdomain.rst
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/util/virstoragefile.c
src/util/virstoragefile.h
tests/qemuxml2argvdata/disk-metadata-cache.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/disk-metadata-cache.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c