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/
Home Products Support Community News


Re: [Xen-users] discovering Xen version

Subject: Re: [Xen-users] discovering Xen version
From: Andrew Thompson <andrewkt@xxxxxxxxxxx>
Date: Fri, 03 Jun 2005 22:43:02 -0400
Cc: ian.pratt@xxxxxxxxxxxx, Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 04 Jun 2005 02:42:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D282061@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D282061@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
Ian Pratt wrote:
Is there a command which returns the version of Xen runing (i.e. 2.0.5, 3.0-devel), similar to the uname(1) command? At first I thought "xm info" would provide it, but that doesn't appear to be the case. Using "xm dmesg" one can see the version banner from Xen's message buffer, but isn't possible the message buffer could wrap or be cleared?

It's on the 'todo' list to add to 'xm info'. Patches welcome :-)

I'm 100% new to python, but I've figured out where to add code to make this show up in xm info. (Already tested with dummy data.)

Can anyone tell me what object or function I could squeeze to get the Xen version number?

Also, what should the label be called? I started with "xenversion", but wasn't sure if it should be xen or xend.

Andrew Thompson

Xen-users mailing list