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

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Thu, 21 Oct 2010 11:30:00 +0200
  • Delivery-date: Thu, 21 Oct 2010 02:38:04 -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=NRsLHAnJvliLAyfzSxK6XCbIvm7Xcb/RcwShCfA+s6hnjWytdfoenqY0 e5AZ/7u6Ef1F8fiY4MIr9qNZdma2oQfjEzTi3YmT/qFv6zm9aswVDU5p7 B9IWJQMi9IVjorNqLT8LFDeukLe4RoYk0pw+2+7ZWtXhYgALWAXtfcuRE SjpPc9QYObsx66rmfPo0zlcblN4mx5mNR6lKEsGHhhnbXD4fsda5Qwhlo d4e6gTpVitHeQrPfeTrX8hG13uEmH;
  • 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-4.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®.