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

Re: [Xen-users] discovering Xen version


  • To: Andrew Thompson <andrewkt@xxxxxxxxxxx>
  • From: aq <aquynh@xxxxxxxxx>
  • Date: Sat, 4 Jun 2005 15:29:00 +0900
  • Cc: ian.pratt@xxxxxxxxxxxx, Xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sat, 04 Jun 2005 06:28:14 +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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sUBl5oLW8GmACRRk48lopWPVeBbwTj0iTVI5AJcokICaQai/w6tapuS4MlhvFRGcXnvMGLbfKJt9wstURVyt0o8gVr+0vBlJipftF95yvJGAXbrFQTcDJGtUvv/tuQjDCVJN8NR4V4Fe5uv1KiACDi6x0+FtSgVCvTh7jTBa91w=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 6/4/05, Andrew Thompson <andrewkt@xxxxxxxxxxx> wrote:
> 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 :-)

Ian, is this what you named "xm --version" in todo list? if not, what
it is? (so vague!
)
> 
> 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.

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

no, xen and xend are different things: xen is hypervisor, and xend is daemon.

btw, i am hacking this, and almost done. will post a patch soon.

regards,
aq

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


 


Rackspace

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