aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Gross <juergen.gross@ts.fujitsu.com>2011-01-28 17:41:15 +0000
committerJuergen Gross <juergen.gross@ts.fujitsu.com>2011-01-28 17:41:15 +0000
commit852c37f5a82e271f51c9e47c5c5f855c8a45d06b (patch)
tree853302277f4bb4bd8b897b105f367e7975195b7d
parent3146a8a802232659e3264c6b67b0c4195b8c237e (diff)
downloadxen-852c37f5a82e271f51c9e47c5c5f855c8a45d06b.tar.gz
xen-852c37f5a82e271f51c9e47c5c5f855c8a45d06b.tar.bz2
xen-852c37f5a82e271f51c9e47c5c5f855c8a45d06b.zip
xl: fix broken cpupool-numa-split
The implementation of xl cpupool-numa-split is broken. It adds nodes to the wrong pool. This was probably a copy and paste error which happened when libxl_cpupool_cpuadd_node() was introduced. Reported-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Juergen Gross <juergen.gross@ts.fujitsu.com> Acked-by: George Dunlap <george.dunlap@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
-rw-r--r--tools/libxl/xl_cmdimpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c
index 5826755ee6..eded63700e 100644
--- a/tools/libxl/xl_cmdimpl.c
+++ b/tools/libxl/xl_cmdimpl.c
@@ -5825,7 +5825,7 @@ int main_cpupoolnumasplit(int argc, char **argv)
goto out;
}
- ret = -libxl_cpupool_cpuadd_node(&ctx, 0, node, &n);
+ ret = -libxl_cpupool_cpuadd_node(&ctx, poolid, node, &n);
if (ret) {
fprintf(stderr, "error on adding cpus to cpupool\n");
goto out;