From 025555236cb0f755c75e47d0f30310391a8cab62 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 9 Mar 2022 09:34:40 +0100 Subject: [PATCH] docs: formatsnapshot: Move paragraphs describing 'disk' element together MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There was another paragraph describing the attribute 'type' of the 'disk' element under the description of the subelements. Move it to the top to get all relevant information in one place. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- docs/formatsnapshot.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/formatsnapshot.rst b/docs/formatsnapshot.rst index 0ad397316c..b0d8d7ea2f 100644 --- a/docs/formatsnapshot.rst +++ b/docs/formatsnapshot.rst @@ -124,6 +124,17 @@ The top-level ``domainsnapshot`` element may contain the following elements: corresponding domain disk, while others like qemu allow this field to override the domain default. + :since:`Since 1.2.2` the ``disk`` element supports an optional attribute + ``type`` if the ``snapshot`` attribute is set to ``external``. This + attribute specifies the snapshot target storage type and allows to + overwrite the default ``file`` type. The ``type`` attribute along with + the format of the ``source`` sub-element is identical to the ``source`` + element used in domain disk definitions. See the `disk devices + `__ section documentation for further + information. Libvirt currently supports the ``type`` element in the qemu + driver and supported values are ``file``, ``block`` and ``network`` with + a protocol of ``gluster`` :since:`(since 1.2.2)` . + ``source`` If the snapshot mode is external (whether specified or inherited), @@ -151,17 +162,6 @@ The top-level ``domainsnapshot`` element may contain the following elements: ``seclabel`` - :since:`Since 1.2.2` the ``disk`` element supports an optional attribute - ``type`` if the ``snapshot`` attribute is set to ``external``. This - attribute specifies the snapshot target storage type and allows to - overwrite the default ``file`` type. The ``type`` attribute along with - the format of the ``source`` sub-element is identical to the ``source`` - element used in domain disk definitions. See the `disk devices - `__ section documentation for further - information. Libvirt currently supports the ``type`` element in the qemu - driver and supported values are ``file``, ``block`` and ``network`` with - a protocol of ``gluster`` :since:`(since 1.2.2)` . - ``creationTime`` A readonly representation of the time this snapshot was created. The time is