From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxIaK-0002do-PY for qemu-devel@nongnu.org; Wed, 18 Jun 2014 12:19:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxIaF-0007y8-AX for qemu-devel@nongnu.org; Wed, 18 Jun 2014 12:19:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxIaE-0007xb-V0 for qemu-devel@nongnu.org; Wed, 18 Jun 2014 12:19:35 -0400 Date: Wed, 18 Jun 2014 19:19:53 +0300 From: "Michael S. Tsirkin" Message-ID: <1403108034-32054-67-git-send-email-mst@redhat.com> References: <1403108034-32054-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1403108034-32054-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PULL v2 066/106] man: improve -numa doc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Eduardo Habkost , Hu Tao , Michael Tokarev , Luiz Capitulino , Anthony Liguori , Anthony Liguori , Paolo Bonzini , Stefan Hajnoczi 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 Signed-off-by: Hu Tao Signed-off-by: Michael S. Tsirkin Reviewed-by: Eduardo Habkost Acked-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- qemu-options.hx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index ab06df1..06111a6 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 allocate RAM and VCPUs respectively. ETEXI DEF("add-fd", HAS_ARG, QEMU_OPTION_add_fd, -- MST