[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 1 of 3] Support arbitrary numbers of physical cpus for cpupools in tools


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.