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] passing a cpumask to the hypervisor as an uint8_t

To: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] passing a cpumask to the hypervisor as an uint8_t
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 27 Oct 2007 08:27:22 +0100
Delivery-date: Sat, 27 Oct 2007 00:22:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1449F58C868D8D4E9C72945771150BDF020770BE@xxxxxxxxxxxxxxxxx>
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: AcgX7nd+mmmnujxhRQa3OYHSkbPoewAfFjJ0
Thread-topic: [Xen-devel] passing a cpumask to the hypervisor as an uint8_t
User-agent: Microsoft-Entourage/11.3.6.070618
Actually, on x86 you don't have to do anything. Little-endian bitmaps do not
have a granularity (byte-chunked bitmap is same as a longword-chunked
bitmap).

 -- Keir

On 26/10/07 17:37, "Langsdorf, Mark" <mark.langsdorf@xxxxxxx> wrote:

> Keir, Kevin -
> 
> Could you please provide the code snippet
> for passing the cpumask out of the Linux
> dom0 to the Xen hypervisor in the new
> getidletime platform op?  Linux cpumasks
> are structures to an array of unsigned
> long, but getidletime takes it as a
> XEN_GUEST_HANDLE(uint8_t).  I can't figure
> out the conversation.  Thanks in advanace.
> 
> -Mark Langsdorf
> Operating System Research Center
> AMD
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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

<Prev in Thread] Current Thread [Next in Thread>