|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] XEN_GUEST_HANDLEs - help
uint32_t *cpu_to_node = get_xen_guest_handle(put_info->cpu_to_node);
cpu_to_node[0] = NUMA_NON_NODE;
-- Keir
On 19/12/07 12:26, "beth kon" <eak@xxxxxxxxxx> wrote:
> 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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|