Re: [Xen-devel] [PATCH v4 11/21] hvmloader: retrieve vNUMA information from hypervisor

2015-01-23 Thread Wei Liu
On Fri, Jan 23, 2015 at 01:27:27PM +, Jan Beulich wrote: > >>> On 23.01.15 at 12:13, wrote: > > Changes in v4: > > 1. Use *vnode_to_pnode to calculate size. > > 2. Remove loop. > > 3. TBD: rebase onto Jan's errno ABI change. > > Which went in already. > I will wait until it shows up in mast

Re: [Xen-devel] [PATCH v4 11/21] hvmloader: retrieve vNUMA information from hypervisor

2015-01-23 Thread Jan Beulich
>>> On 23.01.15 at 12:13, wrote: > Changes in v4: > 1. Use *vnode_to_pnode to calculate size. > 2. Remove loop. > 3. TBD: rebase onto Jan's errno ABI change. Which went in already. > +void init_vnuma_info(void) > +{ > +int rc; > +struct xen_vnuma_topology_info vnuma_topo; > + > +vcpu

[Xen-devel] [PATCH v4 11/21] hvmloader: retrieve vNUMA information from hypervisor

2015-01-23 Thread Wei Liu
Hvmloader issues XENMEM_get_vnumainfo hypercall and stores the information retrieved in scratch space for later use. Signed-off-by: Wei Liu Cc: Jan Beulich --- Changes in v4: 1. Use *vnode_to_pnode to calculate size. 2. Remove loop. 3. TBD: rebase onto Jan's errno ABI change. Changes in v3: 1.