From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Harper Subject: Re: [PATCH] tools: convert cpumap bitmap to list Date: Fri, 21 Oct 2005 10:02:02 -0500 Message-ID: <20051021150202.GC8520@us.ibm.com> References: <20051019224507.GC2004@us.ibm.com> <20051020152455.GD2004@us.ibm.com> <20051020162342.GE2004@us.ibm.com> <20051021140331.GA8520@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org * Keir Fraser [2005-10-21 10:00]: > > On 21 Oct 2005, at 15:03, Ryan Harper wrote: > > >I'm not sure what to do about the python binding in pincpu. As you > >mentioned, python2.2 doesn't support 'K' (unsigned long long), but it > >can support 'L' (long long). > > The usage examples you posted look fine to me. > > As for pincpu: I think it should accept a list of integers and turn > that into a cpumap_t (i.e., do the reverse operation of what we do in > vcpu_getinfo). > > Then python code does not see cpumap bitmaps at all. Just lists of > integers. Makes sense. I'll send in a patch. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com