diff options
author | Peter Krempa <pkrempa@redhat.com> | 2023-02-28 14:46:20 +0100 |
---|---|---|
committer | Peter Krempa <pkrempa@redhat.com> | 2023-04-17 16:09:50 +0200 |
commit | edd604a6723522f4c17a38ff2df35460208b0c81 (patch) | |
tree | c471566cb049de33a8fccab726d8d368eb6703da /docs | |
parent | d405caae87970eb441ea7bb5ff931aaaa3da4bdc (diff) | |
download | libvirt-edd604a6723522f4c17a38ff2df35460208b0c81.tar.gz |
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>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/formatdomain.rst | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst index 388c620221..c31c2fe35c 100644 --- a/docs/formatdomain.rst +++ b/docs/formatdomain.rst @@ -3266,28 +3266,26 @@ paravirtualized driver is specified via the ``disk`` element. to the ``qemu`` `qcow2 cache docs <https://git.qemu.org/?p=qemu.git;a=blob;f=docs/qcow2-cache.txt>`__ - **Example:** - -:: - - <disk type='file' device='disk'> - <driver name='qemu' type='qcow2'> - <metadata_cache> - <max_size unit='bytes'>1234</max_size> - </metadata_cache> - </driver> - <source file='/var/lib/libvirt/images/domain.qcow'/> - <backingStore type='file'> - <format type='qcow2'> - <metadata_cache> - <max_size unit='bytes'>1234</max_size> - </metadata_cache> - </format> - <source file='/var/lib/libvirt/images/snapshot.qcow'/> - <backingStore/> - </backingStore> - <target dev='vdd' bus='virtio'/> - </disk> + **Example**:: + + <disk type='file' device='disk'> + <driver name='qemu' type='qcow2'> + <metadata_cache> + <max_size unit='bytes'>1234</max_size> + </metadata_cache> + </driver> + <source file='/var/lib/libvirt/images/domain.qcow'/> + <backingStore type='file'> + <format type='qcow2'> + <metadata_cache> + <max_size unit='bytes'>1234</max_size> + </metadata_cache> + </format> + <source file='/var/lib/libvirt/images/snapshot.qcow'/> + <backingStore/> + </backingStore> + <target dev='vdd' bus='virtio'/> + </disk> ``backenddomain`` The optional ``backenddomain`` element allows specifying a backend domain |