[PATCH 47/67] docs: formatdomain: Remove 'seclabel' anchor

Peter Krempa pkrempa at redhat.com
Tue May 31 15:06:22 UTC 2022


One local reference required rewording of a whole paragraph to make
sense.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 docs/formatdomain.rst   | 10 +++++-----
 docs/formatsnapshot.rst |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index 8e0f254236..cffdab6eb7 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -2720,10 +2720,11 @@ paravirtualized driver is specified via the ``disk`` element.
       incremental backups and snapshots are not supported for this disk type.

    With "file", "block", and "volume", one or more optional sub-elements
-   ``seclabel``, `described below <#seclabel>`__ (and :since:`since 0.9.9` ),
-   can be used to override the domain security labeling policy for just that
-   source file. (NB, for "volume" type disk, ``seclabel`` is only valid when the
+   ``seclabel`` (See `Security label`_) can be used to override the domain
+   security labeling policy for just that source file.
+   (NB, for "volume" type disk, ``seclabel`` is only valid when the
    specified storage volume is of 'file' or 'block' type).
+   :since:`since 0.9.9`

    The ``source`` element may also have the ``index`` attribute with same
    semantics the ``index`` attribute of ``backingStore``.
@@ -6280,7 +6281,7 @@ top-level element. The host interface is configured by the ``source`` element.

 The ``source`` element may contain an optional ``seclabel`` to override the way
 that labelling is done on the socket path. If this element is not present, the
-`security label is inherited from the per-domain setting <#seclabel>`__.
+`Security label`_ is inherited from the per-domain setting.

 If the interface ``type`` presented to the host is "file", then the ``source``
 element may contain an optional attribute ``append`` that specifies whether or
@@ -8047,7 +8048,6 @@ The optional ``driver`` element allows to specify virtio options, see
    </devices>
    ...

-:anchor:`<a id="seclabel"/>`

 Security label
 --------------
diff --git a/docs/formatsnapshot.rst b/docs/formatsnapshot.rst
index 07aa03c0a7..085c712053 100644
--- a/docs/formatsnapshot.rst
+++ b/docs/formatsnapshot.rst
@@ -159,7 +159,7 @@ The top-level ``domainsnapshot`` element may contain the following elements:

          The ``source`` element also may contain the ``seclabel`` element
          (described in the `domain XML documentation
-         <formatdomain.html#seclabel>`__) which can be used to override the
+         <formatdomain.html#security-label>`__) which can be used to override the
          domain security labeling policy for ``source``.

       ``driver``
-- 
2.35.3



More information about the libvir-list mailing list