mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +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>
19 lines
485 B
XML
19 lines
485 B
XML
<domainsnapshot>
|
|
<name>my snap name</name>
|
|
<description>!@#$%^</description>
|
|
<creationTime>1386166249</creationTime>
|
|
<disks>
|
|
<disk name='hdd' snapshot='external' type='file'>
|
|
<driver type='qcow2'>
|
|
<metadata_cache>
|
|
<max_size unit='bytes'>1234</max_size>
|
|
</metadata_cache>
|
|
</driver>
|
|
<source file='/path/to/new'/>
|
|
</disk>
|
|
</disks>
|
|
<domain>
|
|
<uuid>9d37b878-a7cc-9f9a-b78f-49b3abad25a8</uuid>
|
|
</domain>
|
|
</domainsnapshot>
|