From 3db5ca2d45f250d7d475b77519f9dfe713dff6af Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Wed, 14 Mar 2012 11:10:20 +0000 Subject: [PATCH] xl: display max_cpu_ids for xl info Expose `max_cpu_id' in stdout from `xl info' Signed-off-by: Andrew Cooper Acked-by: Ian Jackson Committed-by: Ian Jackson --- tools/libxl/xl_cmdimpl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 553606b8eb..9034468c2b 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -3734,6 +3734,7 @@ static void output_physinfo(void) } printf("nr_cpus : %d\n", info.nr_cpus); + printf("max_cpu_id : %d\n", info.max_cpu_id); printf("nr_nodes : %d\n", info.nr_nodes); printf("cores_per_socket : %d\n", info.cores_per_socket); printf("threads_per_core : %d\n", info.threads_per_core); -- 2.30.2