From e1e1e98cacd82fa054ac3c6b381d9833236110e0 Mon Sep 17 00:00:00 2001 From: Yang Zhang Date: Thu, 28 Jun 2012 17:51:56 +0100 Subject: libxl: allow setting more than 31 vcpus In current implementation, it uses integer to record current avail cpus and this only allows user to specify 31 vcpus. In following patch, it uses cpumap instead integer which make more sense than before. Also there is no limit to the max vcpus. Signed-off-by: Yang Zhang Acked-by: Ian Jackson Signed-off-by: Ian Jackson Committed-by: Ian Jackson --- tools/libxl/libxl_types.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/libxl/libxl_types.idl') diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl index b727abbe5d..a4a8e258f4 100644 --- a/tools/libxl/libxl_types.idl +++ b/tools/libxl/libxl_types.idl @@ -237,7 +237,7 @@ libxl_domain_sched_params = Struct("domain_sched_params",[ libxl_domain_build_info = Struct("domain_build_info",[ ("max_vcpus", integer), - ("cur_vcpus", integer), + ("avail_vcpus", libxl_cpumap), ("cpumap", libxl_cpumap), ("tsc_mode", libxl_tsc_mode), ("max_memkb", MemKB), -- cgit v1.2.3