mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 19:41:16 +00:00
QCOW2 images now support 'extended_l2' which splits the default clusters into 32 subcluster allocation units. This allows the allocation units to be smaller without increasing the size of L2 table too much and thus also the cache requirements for holding the full L2 table in memory. Unfortunately it's incompatible with qemu versions older than 5.2 thus can't be used as default. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
22 lines
600 B
XML
22 lines
600 B
XML
<volume type='file'>
|
|
<name>OtherDemo.img</name>
|
|
<key>/var/lib/libvirt/images/OtherDemo.img</key>
|
|
<capacity unit='bytes'>5368709120</capacity>
|
|
<allocation unit='bytes'>294912</allocation>
|
|
<target>
|
|
<path>/var/lib/libvirt/images/OtherDemo.img</path>
|
|
<format type='qcow2'/>
|
|
<permissions>
|
|
<mode>0644</mode>
|
|
<owner>0</owner>
|
|
<group>0</group>
|
|
<label>unconfined_u:object_r:virt_image_t:s0</label>
|
|
</permissions>
|
|
<compat>1.1</compat>
|
|
<clusterSize unit='B'>131072</clusterSize>
|
|
<features>
|
|
<extended_l2/>
|
|
</features>
|
|
</target>
|
|
</volume>
|