WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 2/2] xm info

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 2/2] xm info
From: aq <aquynh@xxxxxxxxx>
Date: Sun, 19 Jun 2005 09:53:58 -0500
Delivery-date: Sun, 19 Jun 2005 14:53:02 +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=NqpMXJia+sM+LccvQTQlCDy3a5otgvVeUGNVMVWaX5hok65D5jRpGSsNTX3AOD2RsF+kPDmqfYHiV6S0upBmNiVmKQLzdjZmYRUOStlNZBgrD6bTJtVMESf3WHehH+U8c5ZOJagEIgqPj1+l24W0gGybk9pSI0tCmveI6P4N1/Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: aq <aquynh@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 2/2] xm info, aq <=