mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-04 20:31:13 +00:00
06380cb587
Similarly to the domain config code it may be beneficial to control the cache size of images introduced as snapshots into the backing chain. Wire up handling of the 'metadata_cache' element. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
15 lines
356 B
XML
15 lines
356 B
XML
<domainsnapshot>
|
|
<name>my snap name</name>
|
|
<description>!@#$%^</description>
|
|
<disks>
|
|
<disk name='hdd' snapshot='external'>
|
|
<source file='/path/to/new'/>
|
|
<driver type='qcow2'>
|
|
<metadata_cache>
|
|
<max_size unit='bytes'>1234</max_size>
|
|
</metadata_cache>
|
|
</driver>
|
|
</disk>
|
|
</disks>
|
|
</domainsnapshot>
|