[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 2/2] xm info
This patch gets "xm info" shown some additional information such as xen version, xen builder, compile time, logical cpus, number of cores and Hyper threading support (finally works correctly). To do that, the patch extends the xen_version hypercall and adds a python wrapper for it. Here is the ouput of "xm info": system : Linux host : ubuntu xen_release : 3.0-devel xen_compile_by : root@localdomain xen_compiler : gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2) xen_compile_date : Mon Jun 20 00:57:59 EST 2005 dom0_release : 2.6.11.12-xen0 dom0_version : #2 Mon Jun 20 03:09:24 EST 2005 machine : i686 logical_cpus : 1 cores_per_socket : 1 hyperthreads_per_core : 1 cpu_mhz : 1094 memory : 511 free_memory : 122 Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx> # diffstat xminfo3.patch tools/libxc/xc.h | 11 +++++++++++ tools/libxc/xc_misc.c | 18 ++++++++++++++++++ tools/python/xen/lowlevel/xc/xc.c | 29 +++++++++++++++++++++++++++++ tools/python/xen/xend/XendNode.py | 15 ++++++++++----- xen/common/kernel.c | 22 ++++++++++++++++++---- xen/include/public/version.h | 22 ++++++++++++++++++++++ 6 files changed, 108 insertions(+), 9 deletions(-) Attachment:
xminfo3.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |