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

RE: [Xen-devel] How to query the number of vcpus?

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] How to query the number of vcpus?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Sat, 30 Apr 2005 19:03:16 +0100
Cc: Kip Macy <kip.macy@xxxxxxxxx>, Ryan Harper <ryanh@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, christian.limpach@xxxxxxxxxxxx
Delivery-date: Sat, 30 Apr 2005 18:02:57 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVNk5aqS1T3UbjBTL6iPyiOxn/pcgAGushw
Thread-topic: [Xen-devel] How to query the number of vcpus?
> cpumap_t is a reasonable name as at least it won't conflict 
> with type names internal to Xen.
> 
> However, why pass a pointer to a cpumap_t into PINCPU? And 
> should we cater now for systems with too many cpus to be 
> represented by a long?

I think so -- might as well get the interface right. I was thinking
something like the fd mask that get's passed to select, where you
sepcify the highest set bit.

Ian

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