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

2014-12-10 Thread Jan Beulich
>>> On 09.12.14 at 18:52, wrote: > On Tue, Dec 09, 2014 at 04:46:22PM +, Jan Beulich wrote: >> >>> On 01.12.14 at 16:33, wrote: >> > + */ >> > + >> > +#ifndef __HVMLOADER_VNUMA_H__ >> > +#define __HVMLOADER_VNUMA_H__ >> > + >> > +#include >> > + >> > +#define MAX_VNODES 64 >> > +#define

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

2014-12-09 Thread Wei Liu
On Tue, Dec 09, 2014 at 04:46:22PM +, Jan Beulich wrote: > >>> On 01.12.14 at 16:33, wrote: > > @@ -261,6 +262,8 @@ int main(void) > > > > init_hypercalls(); > > > > +init_vnuma_info(); > > This is very early, and I don't think it needs to be - I guess it could be > done right be

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

2014-12-09 Thread Jan Beulich
>>> On 01.12.14 at 16:33, wrote: > @@ -261,6 +262,8 @@ int main(void) > > init_hypercalls(); > > +init_vnuma_info(); This is very early, and I don't think it needs to be - I guess it could be done right before doing ACPI stuff? > --- /dev/null > +++ b/tools/firmware/hvmloader/vnuma.

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

2014-12-01 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 --- tools/firmware/hvmloader/Makefile|2 +- tools/firmware/hvmloader/hvmloader.c |3 ++ tools/firmware/hvmloader/vnuma.c |