From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKpub-0007Jt-Io for qemu-devel@nongnu.org; Tue, 04 Mar 2014 09:01:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKpuT-0001R4-4X for qemu-devel@nongnu.org; Tue, 04 Mar 2014 09:01:37 -0500 Received: from mail-ee0-x22e.google.com ([2a00:1450:4013:c00::22e]:46294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKpuS-0001Qd-G5 for qemu-devel@nongnu.org; Tue, 04 Mar 2014 09:01:29 -0500 Received: by mail-ee0-f46.google.com with SMTP id t10so1957293eei.5 for ; Tue, 04 Mar 2014 06:01:27 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 4 Mar 2014 15:00:34 +0100 Message-Id: <1393941656-29068-7-git-send-email-pbonzini@redhat.com> In-Reply-To: <1393941656-29068-1-git-send-email-pbonzini@redhat.com> References: <1393941656-29068-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 2.1 06/28] man: improve -numa doc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: ehabkost@redhat.com, hutao@cn.fujitsu.com, mtosatti@redhat.com, Luiz Capitulino , imammedo@redhat.com, a.motakis@virtualopensystems.com, gaowanlong@cn.fujitsu.com 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 56e5fdf..f948f28 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) STEXI -@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. ETEXI DEF("add-fd", HAS_ARG, QEMU_OPTION_add_fd, -- 1.8.5.3