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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] tools: convert cpumap bitmap to list

To: Ryan Harper <ryanh@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] tools: convert cpumap bitmap to list
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: 2005年10月21日 16:04:38 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2005年10月21日 14:56:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051021140331.GA8520@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20051019224507.GC2004@xxxxxxxxxx> <c0d8356416e3a05f9aee067327d3494c@xxxxxxxxxxxx> <20051020152455.GD2004@xxxxxxxxxx> <d3d3e7baeb58004b381f58c0c87e9e02@xxxxxxxxxxxx> <20051020162342.GE2004@xxxxxxxxxx> <d6d969edef913cf11313bff33d0de501@xxxxxxxxxxxx> <20051021140331.GA8520@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] network-bridge script reworked , Kurt Garloff
Next by Date: Re: [Xen-devel] [PATCH] tools: convert cpumap bitmap to list , Ryan Harper
Previous by Thread: Re: [Xen-devel] [PATCH] tools: convert cpumap bitmap to list , Ryan Harper
Next by Thread: Re: [Xen-devel] [PATCH] tools: convert cpumap bitmap to list , Ryan Harper
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /