From 93039a68a59a917e9e3419dfe6114b1571207acc Mon Sep 17 00:00:00 2001 From: Juergen Gross Date: Thu, 9 Dec 2010 11:21:30 +0100 Subject: Support getting topology info in libxl Added new function libxl_get_topologyinfo() to obtain this information from hypervisor. Signed-off-by: juergen.gross@ts.fujitsu.com Signed-off-by: Ian Jackson --- tools/libxl/libxl_utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/libxl/libxl_utils.h') diff --git a/tools/libxl/libxl_utils.h b/tools/libxl/libxl_utils.h index 7846c4233c..a8f7f105c1 100644 --- a/tools/libxl/libxl_utils.h +++ b/tools/libxl/libxl_utils.h @@ -82,5 +82,7 @@ void libxl_cpumap_set(libxl_cpumap *cpumap, int cpu); void libxl_cpumap_reset(libxl_cpumap *cpumap, int cpu); #define libxl_for_each_cpu(var, map) for (var = 0; var < (map).size * 8; var++) +int libxl_cpuarray_alloc(libxl_ctx *ctx, libxl_cpuarray *cpuarray); + #endif -- cgit v1.2.3