aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl_cmdtable.c
diff options
context:
space:
mode:
authorJuergen Gross <juergen.gross@ts.fujitsu.com>2010-12-09 11:50:53 +0100
committerJuergen Gross <juergen.gross@ts.fujitsu.com>2010-12-09 11:50:53 +0100
commit223965ab11fb667cf46478f42f23f9601e19fb1f (patch)
treec1f5ca851a29864e1426fff3a355b9aca8f89569 /tools/libxl/xl_cmdtable.c
parentd567ebfef17b1baf331d50af13b97725a7c43b39 (diff)
downloadxen-223965ab11fb667cf46478f42f23f9601e19fb1f.tar.gz
xen-223965ab11fb667cf46478f42f23f9601e19fb1f.tar.bz2
xen-223965ab11fb667cf46478f42f23f9601e19fb1f.zip
Support new xl command cpupool-numa-split
New xl command cpupool-numa-split which will create one cpupool for each numa node of the machine. Can be called only if no other cpupools than Pool 0 are defined. After creation the cpupools can be managed as usual. Signed-off-by: juergen.gross@ts.fujitsu.com Signed-off-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxl/xl_cmdtable.c')
-rw-r--r--tools/libxl/xl_cmdtable.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/libxl/xl_cmdtable.c b/tools/libxl/xl_cmdtable.c
index 854f7da96a..5e7793d49b 100644
--- a/tools/libxl/xl_cmdtable.c
+++ b/tools/libxl/xl_cmdtable.c
@@ -378,6 +378,11 @@ struct cmd_spec cmd_table[] = {
"Moves a domain into a CPU pool",
"<Domain> <CPU Pool>",
},
+ { "cpupool-numa-split",
+ &main_cpupoolnumasplit,
+ "Splits up the machine into one CPU pool per NUMA node",
+ "",
+ },
};
int cmdtable_len = sizeof(cmd_table)/sizeof(struct cmd_spec);