Patchwork [v3,06/34] man: improve -numa doc

mail settings
Submitter Hu Tao
Date March 26, 2014, 10:36 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/333836/
State New
Headers show


Hu Tao - March 26, 2014, 10:36 a.m.
From: Luiz Capitulino <>

The -numa option documentation in qemu's manpage lacks the command-line
options and some information regarding how it relates to options -m and
-smp. This commit fills in the missing text.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Paolo Bonzini <>
 qemu-options.hx | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)


diff --git a/qemu-options.hx b/qemu-options.hx
index ee5437b..f66c3cf 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -97,10 +97,14 @@  ETEXI
 DEF("numa", HAS_ARG, QEMU_OPTION_numa,
     "-numa node[,mem=size][,cpus=cpu[-cpu]][,nodeid=node]\n", QEMU_ARCH_ALL)
-@item -numa @var{opts}
+@item -numa node[,mem=@var{size}][,cpus=@var{cpu[-cpu]}][,nodeid=@var{node}]
 @findex -numa
-Simulate a multi node NUMA system. If mem and cpus are omitted, resources
-are split equally.
+Simulate a multi node NUMA system. If @samp{mem}
+and @samp{cpus} are omitted, resources are split equally. Also, note
+that the -@option{numa} option doesn't allocate any of the specified
+resources. That is, it just assigns existing resources to NUMA nodes. This
+means that one still has to use the @option{-m}, @option{-smp} options
+to respectively allocate RAM and vCPUs.
 DEF("add-fd", HAS_ARG, QEMU_OPTION_add_fd,