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

[Xen-devel] Re: [Xen-changelog] Define Xen interface version for tools b

To: Muli Ben-Yehuda <mulix@xxxxxxxxx>
Subject: [Xen-devel] Re: [Xen-changelog] Define Xen interface version for tools build.
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 6 Apr 2006 07:52:32 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 05 Apr 2006 23:55:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060406055438.GA16153@xxxxxxxxxxxxxxxxxxx>
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: <E1FRDpR-0003Lw-7l@xxxxxxxxxxxxxxxxxxxxx> <20060406055438.GA16153@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 6 Apr 2006, at 06:54, Muli Ben-Yehuda wrote:

 X11_LDPATH = -L/usr/X11R6/$(LIBDIR)
+
+CFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030101

This is now another place you have to remember to change the version
string. Can we stick it in its own file with nothing else and have
other users include it?

Where would you place it such that it's guaranteed to be included everywhere?

One option is to define as 0xFFFFFFFF and have xen-compat.h rewrite that to __XEN_LATEST_INTERFACE_VERSION__. Then we'd never need to update the tools version as it would always get the latest interface.

 -- Keir


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