Based on the documentation for memory-backend-file at the
qemu-system-x86_64(1) manual.

Signed-off-by: Maximiliano Sandoval <[email protected]>
---
 src/PVE/QemuServer/Memory.pm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/PVE/QemuServer/Memory.pm b/src/PVE/QemuServer/Memory.pm
index 7ebfc545..bcf6f9c5 100644
--- a/src/PVE/QemuServer/Memory.pm
+++ b/src/PVE/QemuServer/Memory.pm
@@ -42,6 +42,16 @@ my $numa_fmt = {
         type => 'string',
         enum => [qw(preferred bind interleave)],
         description => "NUMA allocation policy.",
+        verbose_description => <<EODESC,
+NUMA allocation policy. Possible values are:
+
+ - preferred: prefer the given host node list for allocation
+ - bind: restrict memory allocation to the given host node list
+ - interleave: interleave memory allocations across the given host node list
+
+The models are explained in more details at the kernel's documentation
+https://docs.kernel.org/admin-guide/mm/numa_memory_policy.html#components-of-memory-policies.
+EODESC
         optional => 1,
     },
 };
-- 
2.47.3




Reply via email to