[PATCH v2 03/27] docs: Fix nvdimm example wrt to <uuid/>

Michal Privoznik mprivozn at redhat.com
Thu Dec 3 12:36:06 UTC 2020


On PPC platform it is required that a NVDIMM has an UUID. If none
is provided then libvirt generates one during parsing (see
v6.2.0-rc1~96 and friends). However, the example provided in our
documentation is not valid XML.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 docs/formatdomain.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index ff64996af2..512939679b 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -7159,7 +7159,7 @@ Example: usage of the memory devices
        </target>
      </memory>
      <memory model='nvdimm'>
-       <uuid>
+       <uuid>9066901e-c90a-46ad-8b55-c18868cf92ae</uuid>
        <source>
          <path>/tmp/nvdimm</path>
        </source>
@@ -7173,7 +7173,7 @@ Example: usage of the memory devices
        </target>
      </memory>
      <memory model='nvdimm' access='shared'>
-       <uuid>
+       <uuid>e39080c8-7f99-4b12-9c43-d80014e977b8</uuid>
        <source>
          <path>/dev/dax0.0</path>
          <alignsize unit='KiB'>2048</alignsize>
@@ -7211,7 +7211,7 @@ Example: usage of the memory devices
 
 ``uuid``
    For pSeries guests, an uuid can be set to identify the nvdimm module. If
-   absent, libvirt will generate an uuid. automatically. This attribute is
+   absent, libvirt will generate an uuid automatically. This attribute is
    allowed only for ``model='nvdimm'`` for pSeries guests. :since:`Since 6.2.0`
 
 ``source``
-- 
2.26.2




More information about the libvir-list mailing list