This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] xl: fix broken cpupool-numa-split (part 2

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xl: fix broken cpupool-numa-split (part 2)
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Wed, 02 Feb 2011 01:10:15 -0800
Delivery-date: Wed, 02 Feb 2011 01:10:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Andre Przywara <andre.przywara@xxxxxxx>
# Date 1296587227 0
# Node ID 0e2c8b75f7d233f15f8bb49d9db0579e7a350964
# Parent  0db82ae4b4469eee91e59237691d3095dd6b75a6
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

This fixes the execution of xl cpupool-numa-split on machines with more
than two nodes.

Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
Acked-by: juergen.gross@xxxxxxxxxxxxxx
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
 tools/libxl/xl_cmdimpl.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 0db82ae4b446 -r 0e2c8b75f7d2 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c  Tue Feb 01 19:05:51 2011 +0000
+++ b/tools/libxl/xl_cmdimpl.c  Tue Feb 01 19:07:07 2011 +0000
@@ -5814,6 +5814,7 @@ int main_cpupoolnumasplit(int argc, char
         snprintf(name, 15, "Pool-node%d", node);
+        poolid = 0;
         ret = -libxl_create_cpupool(&ctx, name, schedid, cpumap, &uuid, 
         if (ret) {
             fprintf(stderr, "error on creating cpupool\n");

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xl: fix broken cpupool-numa-split (part 2), Xen patchbot-unstable <=