From mboxrd@z Thu Jan 1 00:00:00 1970 From: beth kon Subject: XEN_GUEST_HANDLEs - help Date: Wed, 19 Dec 2007 07:26:25 -0500 Message-ID: <47690DF1.6040600@us.ibm.com> Reply-To: eak@us.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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@us.ibm.com