]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Fix nvdimm example wrt to <uuid/>
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 2 Nov 2020 10:59:08 +0000 (11:59 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 4 Dec 2020 15:24:19 +0000 (16:24 +0100)
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@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Tested-by: Han Han <hhan@redhat.com>
docs/formatdomain.rst

index ff64996af229c3792eebd1139e45c0e6ca1a6f80..512939679b64dc184f716c7ad3b433d383860d4a 100644 (file)
@@ -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``