numa: add -numa node,memdev= option
commit7febe36f9adbb34756a6a6765a36ea49b6e502ac
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 May 2014 09:43:17 +0000 (14 17:43 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 15:44:19 +0000 (19 18:44 +0300)
tree34a47adbcfd145e26558aff8f38168c6cb057e67
parent1f21772db0b14049b1b4bfef1f039b40827c676f
numa: add -numa node,memdev= option

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 <pbonzini@redhat.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
MST: conflict resolution
include/sysemu/sysemu.h
numa.c
qapi-schema.json
qemu-options.hx
vl.c