[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] discovering Xen version
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |