WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 1 of 3] Support arbitrary numbers of physical cpus fo

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 1 of 3] Support arbitrary numbers of physical cpus for cpupools in tools
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Fri, 08 Oct 2010 13:23:03 +0200
Delivery-date: Fri, 08 Oct 2010 04:30:00 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1286537182; x=1318073182; h=mime-version:subject:message-id:in-reply-to:date:from:to; z=MIME-Version:=201.0|Subject:=20[PATCH=201=20of=203]=20Su pport=20arbitrary=20numbers=20of=20physical=20cpus=20for =0D=0A=09cpupools=20in=20tools|Message-Id:=20<fc17462ba61 2d67069c1.1286536983@nehalem1>|In-Reply-To:=20<patchbomb. 1286536982@nehalem1>|Date:=20Fri,=2008=20Oct=202010=2013: 23:03=20+0200|From:=20Juergen=20Gross=20<juergen.gross@ts .fujitsu.com>|To:=20xen-devel@xxxxxxxxxxxxxxxxxxx; bh=5jdD3wA9xnCAaV2hqy0L+3jYefXO+NiKHKwZPJPTngA=; b=tS8neNE9shLvlsO24eW74MbKh4WbOinyjLoZsQRRC26bCGN/GVTi49B8 7mkpciaguRgSPPh4FpLYyvtnxJqoMdTMCW4duOSztD8lhio24eJYqAN3j XAFiOwzGCk+ERIcuymVxwMZuoHwDPfG/tiql/ZYBnb8R014scvSydZ+Yl svZ4ntIoicEhiCwW/fLHlUndOqSlVQEgLPHvxbwdwwRz7j5wASuxNqmZl dr/LQNu7Mxj5pkNUdDP/cUHAZfC8d;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Content-Type:MIME-Version:Subject: X-Mercurial-Node:Message-Id:In-Reply-To:Date:From:To; b=IPA8AAu8iHG8G/Wp3oqNjtTbOhU9Ldfq9jt78qMEEuaLNbKEFTbYCpXl 0k0WeLHUkNhmO4Ex6aqBP+Vp+O3kRxKcPvYx9bmk3zx4d8oyTjl8x8mcJ S0m4r9lWQ/hfxJBY+WMM7LvtA089ZqTbQijrzr1xAhgelAayQvNZLbQtc kUlZ552rmOBY+z6A2svJbF2T8VpWZa8Rr4y8E7xfbHvDnn7YTxZtMN5FG 8fHYs1sjJoBd/B8+zLW2RmtZY3hPC;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1286536982@nehalem1>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
To be able to support arbitrary numbers of physical cpus it was necessary to
include the size of cpumaps in the xc-interfaces for cpu pools.
These were:
  definition of xc_cpupoolinfo_t
  xc_cpupool_getinfo()
  xc_cpupool_freeinfo()
xc_cpupool_getinfo() and xc_cpupool_freeinfo() are changed to allocate the
needed buffer and return it.

Signed-off-by: juergen.gross@xxxxxxxxxxxxxx


8 files changed, 182 insertions(+), 151 deletions(-)
tools/libxc/xc_cpupool.c          |  118 ++++++++++++++++++++++---------------
tools/libxc/xc_misc.c             |   14 ++++
tools/libxc/xenctrl.h             |   26 ++++----
tools/libxl/libxl.c               |   49 +++++++--------
tools/libxl/libxl.h               |    3 
tools/libxl/libxl_utils.c         |    5 +
tools/libxl/xl_cmdimpl.c          |   22 +++---
tools/python/xen/lowlevel/xc/xc.c |   96 ++++++++++++------------------


Attachment: xen-work-3.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>