1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

docs: formatdomain: Properly indent example XML for setting 'metadata_cache'

Indent the example XML block so that it belongs to the paragraph talking
about it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Peter Krempa 2023-02-28 14:46:20 +01:00
parent d405caae87
commit edd604a672

View File

@ -3266,28 +3266,26 @@ paravirtualized driver is specified via the ``disk`` element.
to the ``qemu`` to the ``qemu``
`qcow2 cache docs <https://git.qemu.org/?p=qemu.git;a=blob;f=docs/qcow2-cache.txt>`__ `qcow2 cache docs <https://git.qemu.org/?p=qemu.git;a=blob;f=docs/qcow2-cache.txt>`__
**Example:** **Example**::
:: <disk type='file' device='disk'>
<driver name='qemu' type='qcow2'>
<disk type='file' device='disk'> <metadata_cache>
<driver name='qemu' type='qcow2'> <max_size unit='bytes'>1234</max_size>
<metadata_cache> </metadata_cache>
<max_size unit='bytes'>1234</max_size> </driver>
</metadata_cache> <source file='/var/lib/libvirt/images/domain.qcow'/>
</driver> <backingStore type='file'>
<source file='/var/lib/libvirt/images/domain.qcow'/> <format type='qcow2'>
<backingStore type='file'> <metadata_cache>
<format type='qcow2'> <max_size unit='bytes'>1234</max_size>
<metadata_cache> </metadata_cache>
<max_size unit='bytes'>1234</max_size> </format>
</metadata_cache> <source file='/var/lib/libvirt/images/snapshot.qcow'/>
</format> <backingStore/>
<source file='/var/lib/libvirt/images/snapshot.qcow'/> </backingStore>
<backingStore/> <target dev='vdd' bus='virtio'/>
</backingStore> </disk>
<target dev='vdd' bus='virtio'/>
</disk>
``backenddomain`` ``backenddomain``
The optional ``backenddomain`` element allows specifying a backend domain The optional ``backenddomain`` element allows specifying a backend domain