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 4] Support arbitrary numbers of physical cpus fo

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 1 of 4] Support arbitrary numbers of physical cpus for cpupools in tools
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
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1287653737; x=1319189737; h=mime-version:subject:message-id:in-reply-to:date:from:to; z=MIME-Version:=201.0|Subject:=20[PATCH=201=20of=204]=20Su pport=20arbitrary=20numbers=20of=20physical=20cpus=20for =0D=0A=09cpupools=20in=20tools|Message-Id:=20<cf8b16d5108 ce9b0644e.1287653400@nehalem1>|In-Reply-To:=20<patchbomb. 1287653399@nehalem1>|Date:=20Thu,=2021=20Oct=202010=2011: 30:00=20+0200|From:=20Juergen=20Gross=20<juergen.gross@ts .fujitsu.com>|To:=20xen-devel@xxxxxxxxxxxxxxxxxxx; bh=RV//NWOZgE8papWw0jhFNwolTAzGloaSX54nIR6XAHI=; b=aN1BiYxZZS8zYPXMQO4n6BxlRwekv5+4suyC6IsvF24aUWpjCypIsvsH SA86iA46k5Nsd4pTfxdJg15qg61l1m1B7/rI8rr20QobfjW7n5jzTGlSR gOP8B3XIqrjjX0c6zOz3Y5zpSMYs07trOpR9iYR1N8ba6GqjfFOZpNlo1 JDns3QUTJFIN2AGk0r0D01l/i8BzbTsWVq6xKUNmqq2t0JaEjYWlgMXts 3FgWJE74+7X4EVrCJJ3myqArovZ5E;
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;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1287653399@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-4.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel