qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v5 07/16] fixup! numa: add -numa node, memdev= optio


From: Hu Tao
Subject: [Qemu-devel] [PATCH v5 07/16] fixup! numa: add -numa node, memdev= option
Date: Tue, 10 Jun 2014 19:15:20 +0800

From: Paolo Bonzini <address@hidden>

This option provides the infrastructure for binding guest NUMA nodes
to host NUMA nodes.  For example:

 -object memory-ram,size=1024M,policy=bind,host-nodes=0,id=ram-node0 \
 -numa node,nodeid=0,cpus=0,memdev=ram-node0 \
 -object memory-ram,size=1024M,policy=interleave,host-nodes=1-3,id=ram-node1 \
 -numa node,nodeid=1,cpus=1,memdev=ram-node1

The option replaces "-numa node,mem=".

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Hu Tao <address@hidden>

Conflicts:
        numa.c
        qemu-options.hx
---
 qemu-options.hx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/qemu-options.hx b/qemu-options.hx
index 5375a93..73b6f1f 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -95,9 +95,11 @@ specifies the maximum number of hotpluggable CPUs.
 ETEXI
 
 DEF("numa", HAS_ARG, QEMU_OPTION_numa,
-    "-numa node[,mem=size][,memdev=id][,cpus=cpu[-cpu]][,nodeid=node]\n", 
QEMU_ARCH_ALL)
+    "-numa node[,mem=size][,cpus=cpu[-cpu]][,nodeid=node]\n"
+    "-numa node[,memdev=id][,cpus=cpu[-cpu]][,nodeid=node]\n", QEMU_ARCH_ALL)
 STEXI
address@hidden -numa 
node[,address@hidden,address@hidden,address@hidden,address@hidden
address@hidden -numa node[,address@hidden,address@hidden,address@hidden
address@hidden -numa node[,address@hidden,address@hidden,address@hidden
 @findex -numa
 Simulate a multi node NUMA system. If @samp{mem}, @samp{memdev}
 and @samp{cpus} are omitted, resources are split equally. Also, note
-- 
1.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]