[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] xm info


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: aq <aquynh@xxxxxxxxx>
  • Date: Sun, 3 Jul 2005 02:13:41 -0500
  • Delivery-date: Sun, 03 Jul 2005 07:12:33 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=Vf0D6wG6qfTdR/0m4P4iIOtrELeZ1bi1o/tuGi/KXaFr6lKOVVp0T/HR6TDPn+N4RHjawTIeB2pSfuq2pydg+vX249P7RInBNE07wiR4AiKc97fsD6kw3B9fy/bpFk/QXLM7pxxNyxXaEPgnFuHAH/0McRA9/ivu76/Ns2XyHvg=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

This patch makes "xm info" show information on xen version, compile
info, number of socket/core, etc...

In order to do that, it extends physinfo hypercall to return number of
socket, adds few functions to libxc and extends python wrapper
correspondingly.

Here is the output of new "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       : Sun Jul  3 15:26:01 EST 2005
dom0_release           : 2.6.11.12-xen0
dom0_version           : #2 Sun Jul 3 15:39:31 EST 2005
machine                : i686
logical_cpus           : 1
sockets                : 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 xminfo8.patch 
 tools/libxc/xc.h                  |   20 +++++++++++++
 tools/libxc/xc_misc.c             |   40 +++++++++++++++++++++++++++
 tools/python/xen/lowlevel/xc/xc.c |   55 +++++++++++++++++++++++++++++++++++++-
 tools/python/xen/xend/XendNode.py |   16 ++++++++---
 xen/arch/x86/dom0_ops.c           |    1 
 xen/common/kernel.c               |   46 +++++++++++++++----------------
 xen/include/public/dom0_ops.h     |    1 
 xen/include/public/version.h      |    3 ++
 8 files changed, 154 insertions(+), 28 deletions(-)

Attachment: xminfo8.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.