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

Re: [Xen-devel] xen_version hypercall

To: xen-devel@xxxxxxxxxxxxxxxxxxx, aq <aquynh@xxxxxxxxx>
Subject: Re: [Xen-devel] xen_version hypercall
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Sat, 4 Jun 2005 14:34:57 +0100
Delivery-date: Sat, 04 Jun 2005 14:34:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9cde8bff0506040718626cfbb5@xxxxxxxxxxxxxx>
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>
References: <9cde8bff0506040718626cfbb5@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
> at the moment, xen_version hypercall returns only xen-version and
> xen-subversion (as a long number). but there is xen-extraversion. so i
> wonder if it is better for this hypercall to returns also
> extraversion? (so the return value is a string, not a number)

Hmmmm.  Well the xen_version hypercall is used for OSes to determine the ABI 
of the version of Xen they're running on (I think), so it kinda makes sense 
for that to be a long.

For your xm info updates my personal preference would be to leave the version 
hypercall the same and to fetch the additional details with a new dom0 op in 
the common directory (would anyone have a problem with this?).

The additional info would ideally allow the whole Xen version string to be 
pieced together, as displayed at boot e.g.

"Xen version 3.0-devel (mwilli2@) (gcc version 3.4.2 20041017 (Red Hat 
3.4.2-6.fc3)) Mon May 16 15:12:17 BST 2005"
(like uname -a)

Or a subset of that info.

What do you think?

Cheers,
Mark

> regards,
> aq
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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

<Prev in Thread] Current Thread [Next in Thread>