]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: add features to volume target XML
authorJán Tomko <jtomko@redhat.com>
Thu, 16 May 2013 10:38:26 +0000 (12:38 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 21 Jun 2013 11:25:30 +0000 (13:25 +0200)
commit31d42506fb5650539c5475de86aa73a48f95b6b3
tree845203797f897052e35768d4d8bd058b2f800e92
parenta1ee8e18c91ed5c0fda23ec4e677b3ac62890250
conf: add features to volume target XML

Add <features> and <compat> elements to volume target XML.

<compat> is a string which for qcow2 represents the QEMU version
it should be compatible with. Valid values are 0.10 and 1.1.
1.1 is implicit if the <features> element is present, otherwise
qemu-img default is used. 0.10 can be specified to explicitly
create older images after the qemu-img default changes.

<features> contains optional features, so far
<lazy_refcounts/> is available, which enables caching of reference
counters, improving performance for snapshots.
15 files changed:
docs/formatstorage.html.in
docs/schemas/Makefile.am
docs/schemas/storagefilefeatures.rng [new file with mode: 0644]
docs/schemas/storagevol.rng
libvirt.spec.in
mingw-libvirt.spec.in
src/conf/storage_conf.c
src/conf/storage_conf.h
src/libvirt_private.syms
src/storage/storage_backend_fs.c
tests/storagevolxml2xmlin/vol-qcow2-1.1.xml [new file with mode: 0644]
tests/storagevolxml2xmlin/vol-qcow2-lazy.xml [new file with mode: 0644]
tests/storagevolxml2xmlout/vol-qcow2-1.1.xml [new file with mode: 0644]
tests/storagevolxml2xmlout/vol-qcow2-lazy.xml [new file with mode: 0644]
tests/storagevolxml2xmltest.c