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, wei.l...@citrix.com wrote: On Tue, Dec 09, 2014 at 04:46:22PM +, Jan Beulich wrote: On 01.12.14 at 16:33, wei.l...@citrix.com wrote: + */ + +#ifndef __HVMLOADER_VNUMA_H__ +#define __HVMLOADER_VNUMA_H__ + +#include xen/memory.h + +#define MAX_VNODES

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, wei.l...@citrix.com 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 +++

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, wei.l...@citrix.com 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

[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 wei.l...@citrix.com Cc: Jan Beulich jbeul...@suse.com --- tools/firmware/hvmloader/Makefile|2 +- tools/firmware/hvmloader/hvmloader.c |3 ++