[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
- [Qemu-devel] [PATCH v5 00/16] NUMA series v5, Hu Tao, 2014/06/10
- [Qemu-devel] [PATCH v5 01/16] fixup! NUMA: check if the total numa memory size is equal to ram_size, Hu Tao, 2014/06/10
- [Qemu-devel] [PATCH v5 02/16] vl: redo -object parsing, Hu Tao, 2014/06/10
- [Qemu-devel] [PATCH v5 03/16] fixup! qmp: improve error reporting for -object and object-add, Hu Tao, 2014/06/10
- [Qemu-devel] [PATCH v5 04/16] pc: pass MachineState to pc_memory_init, Hu Tao, 2014/06/10
- [Qemu-devel] [PATCH v5 05/16] backend:hostmem: replace hostmemory with host_memory, Hu Tao, 2014/06/10
- [Qemu-devel] [PATCH v5 06/16] hostmem: separate allocation from UserCreatable complete method, Hu Tao, 2014/06/10
- [Qemu-devel] [PATCH v5 07/16] fixup! numa: add -numa node, memdev= option,
Hu Tao <=
- [Qemu-devel] [PATCH v5 08/16] hostmem: add file-based HostMemoryBackend, Hu Tao, 2014/06/10
- [Qemu-devel] [PATCH v5 09/16] hostmem: add merge and dump properties, Hu Tao, 2014/06/10
- [Qemu-devel] [PATCH v5 10/16] hostmem: allow preallocation of any memory region, Hu Tao, 2014/06/10
- [Qemu-devel] [PATCH v5 11/16] hostmem: add property to map memory with MAP_SHARED, Hu Tao, 2014/06/10
- [Qemu-devel] [PATCH v5 12/16] hostmem: add properties for NUMA memory policy, Hu Tao, 2014/06/10
- [Qemu-devel] [PATCH v5 13/16] tests: fix memory leak in test of string input visitor, Hu Tao, 2014/06/10
- [Qemu-devel] [PATCH v5 14/16] qapi: make string input visitor parse int list, Hu Tao, 2014/06/10