On Fri, Aug 30, 2013 at 11:10:45AM +0800, Wanlong Gao wrote: > The memory policy setting format is like: > > policy={default|membind|interleave|preferred}[,relative=true],host-nodes=N-N > And we are adding this setting as a suboption of "-numa mem,", > the memory policy then can be set like following: > -numa node,nodeid=0,cpus=0 \ > -numa node,nodeid=1,cpus=1 \ > -numa mem,nodeid=0,size=1G,policy=membind,host-nodes=0-1 \ > -numa mem,nodeid=1,size=1G,policy=interleave,relative=true,host-nodes=1 > > Signed-off-by: Wanlong Gao <gaowanl...@cn.fujitsu.com> > --- > include/sysemu/sysemu.h | 5 ++++- > numa.c | 13 +++++++++++++ > qapi-schema.json | 33 +++++++++++++++++++++++++++++++-- > vl.c | 3 +++ > 4 files changed, 51 insertions(+), 3 deletions(-) > > diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h > index e1e4320..2d04bad 100644 > --- a/include/sysemu/sysemu.h > +++ b/include/sysemu/sysemu.h > @@ -127,13 +127,16 @@ extern size_t boot_splash_filedata_size; > extern uint8_t qemu_extra_params_fw[2]; > extern QEMUClockType rtc_clock; > > -#define MAX_NODES 64 > +#define MAX_NODES 128
Can you please include this in a separate patch? -- Eduardo