debuggers.hg
changeset 22897:0e2c8b75f7d2
xl: fix broken cpupool-numa-split (part 2)
Before the creation and population of a new CPU pool we have to clear
the poolid variable, which still contains the value from the previous
iteration.
This fixes the execution of xl cpupool-numa-split on machines with more
than two nodes.
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Acked-by: juergen.gross@ts.fujitsu.com
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Before the creation and population of a new CPU pool we have to clear
the poolid variable, which still contains the value from the previous
iteration.
This fixes the execution of xl cpupool-numa-split on machines with more
than two nodes.
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Acked-by: juergen.gross@ts.fujitsu.com
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
author | Andre Przywara <andre.przywara@amd.com> |
---|---|
date | Tue Feb 01 19:07:07 2011 +0000 (2011-02-01) |
parents | 0db82ae4b446 |
children | 3edd21ffe407 |
files | tools/libxl/xl_cmdimpl.c |
line diff
1.1 --- a/tools/libxl/xl_cmdimpl.c Tue Feb 01 19:05:51 2011 +0000 1.2 +++ b/tools/libxl/xl_cmdimpl.c Tue Feb 01 19:07:07 2011 +0000 1.3 @@ -5814,6 +5814,7 @@ int main_cpupoolnumasplit(int argc, char 1.4 1.5 snprintf(name, 15, "Pool-node%d", node); 1.6 libxl_uuid_generate(&uuid); 1.7 + poolid = 0; 1.8 ret = -libxl_create_cpupool(&ctx, name, schedid, cpumap, &uuid, &poolid); 1.9 if (ret) { 1.10 fprintf(stderr, "error on creating cpupool\n");