[PATCH v3 3/4] Update configuration file documentation to support multiple memory backends

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Michael Galaxy <mgalaxy@xxxxxxxxxx>

Signed-off-by: Michael Galaxy <mgalaxy@xxxxxxxxxx>
---
 docs/kbase/virtiofs.rst | 2 ++
 src/qemu/qemu.conf.in   | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/docs/kbase/virtiofs.rst b/docs/kbase/virtiofs.rst
index 457c15da7f..931ba96104 100644
--- a/docs/kbase/virtiofs.rst
+++ b/docs/kbase/virtiofs.rst
@@ -144,6 +144,8 @@ memobject interface).
 
        # This directory is used for memoryBacking source if configured as file.
        # NOTE: big files will be stored here
+       # NOTE: In the case of a NUMA-aware system (such has shm/tmpfs or PMEM),
+       #       one can also do: memory_backing_dir = [ "/path/to/node/0", "/path/to/node/1" ]
        memory_backing_dir = "/dev/shm/"
 
    * Use hugepage-backed memory
diff --git a/src/qemu/qemu.conf.in b/src/qemu/qemu.conf.in
index 6bc2140dcb..3c52de0192 100644
--- a/src/qemu/qemu.conf.in
+++ b/src/qemu/qemu.conf.in
@@ -897,6 +897,10 @@
 
 # This directory is used for memoryBacking source if configured as file.
 # NOTE: big files will be stored here
+# NOTE: In the case of a NUMA-aware system (such has shm/tmpfs or PMEM),
+#       one can also do: memory_backing_dir = [ "/path/to/node/0", "/path/to/node/1" ]
+#       Be advised that the number of backing directories needs to match
+#       the number of NUMA nodes on the system.
 #memory_backing_dir = "/var/lib/libvirt/qemu/ram"
 
 # Path to the SCSI persistent reservations helper. This helper is
-- 
2.34.1



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux