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] XEN_GUEST_HANDLEs - help

To: Xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] XEN_GUEST_HANDLEs - help
From: beth kon <eak@xxxxxxxxxx>
Date: Wed, 19 Dec 2007 07:26:25 -0500
Delivery-date: Wed, 19 Dec 2007 04:27:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Organization: IBM
Reply-to: eak@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501)
Hi. I am playing with some code and not sure how to do what I want to do.

In the physinfo struct:
XEN_GUEST_HANDLE_64(uint32_t) cpu_to_node;

So if I am in tools/libxc/xc_misc.c

and want to do (effectively)
xc_physinfo_t *put_info
....
put_info->cpu_to_node[0] = NUMA_NO_NODE;

how can I access the contents of the XEN_GUEST_HANDLE from the tools side? Can anyone explain how these XEN_GUEST_HANDLEs work? I am not quite getting what I see in the code

--
Elizabeth Kon (Beth)
IBM Linux Technology Center
Open Hypervisor Team
email: eak@xxxxxxxxxx


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

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