XEN_GUEST_HANDLEs - help
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
Signature · 4 lines
Elizabeth Kon (Beth) IBM Linux Technology Center Open Hypervisor Team email: [email protected]
uint32_t *cpu_to_node = get_xen_guest_handle(put_info->cpu_to_node);
cpu_to_node[0] = NUMA_NON_NODE;-- Keir
Quoted 15 lines · beth kon
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.cand 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_HANDLEfrom the tools side? Can anyone explain how theseXEN_GUEST_HANDLEswork? I am not quite getting what I see in the code