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-users

RE: [Xen-users] discovering Xen version

To: "aq" <aquynh@xxxxxxxxx>, "Andrew Thompson" <andrewkt@xxxxxxxxxxx>
Subject: RE: [Xen-users] discovering Xen version
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Sat, 4 Jun 2005 09:46:16 +0100
Cc: ian.pratt@xxxxxxxxxxxx, Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 04 Jun 2005 08:45:31 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVozrZLybiEY174Qhe+VVuB+9nqSgAEuTGA
Thread-topic: [Xen-users] discovering Xen version
 
> Ian, is this what you named "xm --version" in todo list? if 
> not, what it is? (so vague!
> )

Yep, though I actually prefer the idea of adding it to 'xm info'. We
should report the xen version, tools version, and dom0 linux version.
 
> > 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?
> 
> it is not that trivial. you must hack up here and there... 
> for example, it is necessary to extend python wrapper for this.

Yep, you'll need to export it through the hypercall interface.

Cheers,
Ian

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