[PATCH] docs: Fix dimm example

Michal Privoznik mprivozn at redhat.com
Mon Sep 13 09:23:17 UTC 2021


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 at redhat.com>
---
 docs/formatdomain.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index 67cb934881..7dc93d6abe 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -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>
-- 
2.32.0




More information about the libvir-list mailing list