]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Fix dimm example
authorMichal Privoznik <mprivozn@redhat.com>
Sun, 12 Sep 2021 07:30:29 +0000 (09:30 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 13 Sep 2021 10:45:17 +0000 (12:45 +0200)
In the example for <memory model='dimm'/> we show how to
configure hugepages as backend. In the example we show 4MiB
hugepages which are non-standard and thus at the first glance may
mislead users thinking that a regular sized pages (4K) will be
used. Use 2MiB as the value instead.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
docs/formatdomain.rst

index ad3b4ea92c2ee69967917fab9928c0b3759d6b83..9173d9f1d6a2732d2525bc37210d220d2be6787c 100644 (file)
@@ -7745,7 +7745,7 @@ Example: usage of the memory devices
      </memory>
      <memory model='dimm'>
        <source>
-         <pagesize unit='KiB'>4096</pagesize>
+         <pagesize unit='KiB'>2048</pagesize>
          <nodemask>1-3</nodemask>
        </source>
        <target>