Re: [Xen-devel] [PATCH v3 12/19] hvmloader: retrieve vNUMA information from hypervisor

2015-01-13 Thread Wei Liu
On Tue, Jan 13, 2015 at 04:50:11PM +, Jan Beulich wrote: On 13.01.15 at 13:11, wei.l...@citrix.com wrote: +void init_vnuma_info(void) +{ +int rc, retry = 0; +struct xen_vnuma_topology_info vnuma_topo; + +vcpu_to_vnode = scratch_alloc(sizeof(uint32_t) *

Re: [Xen-devel] [PATCH v3 12/19] hvmloader: retrieve vNUMA information from hypervisor

2015-01-13 Thread Jan Beulich
On 13.01.15 at 13:11, wei.l...@citrix.com wrote: +void init_vnuma_info(void) +{ +int rc, retry = 0; +struct xen_vnuma_topology_info vnuma_topo; + +vcpu_to_vnode = scratch_alloc(sizeof(uint32_t) * hvm_info-nr_vcpus, 0); sizeof(*vcpu_to_vnode) please. +rc = -EAGAIN; +