libxl,libxc: introduce libxl_get_numainfo()
authorDario Faggioli <raistlin@linux.it>
Fri, 6 Jul 2012 12:17:41 +0000 (13:17 +0100)
committerDario Faggioli <raistlin@linux.it>
Fri, 6 Jul 2012 12:17:41 +0000 (13:17 +0100)
commit97467ae4a049d30a8bf1d00cec67ff6c41e18168
tree72cdf203551432576f9147ae5dff937345995829
parent618a40391f353f236c007038147a7b3771032f15
libxl,libxc: introduce libxl_get_numainfo()

Make some NUMA node information available to the toolstack. Achieve
this by means of xc_numainfo(), which exposes memory size and amount
of free memory of each node, as well as the relative distances of
each node to all the others.

For properly exposing distances we need the IDL to support arrays.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_misc.c
tools/libxc/xenctrl.h
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_types.idl
tools/libxl/libxl_utils.c
xen/include/public/sysctl.h