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