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] 32-on-64: pvfb issue

To: Markus Armbruster <armbru@xxxxxxxxxx>
Subject: Re: [Xen-devel] 32-on-64: pvfb issue
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Mon, 22 Jan 2007 16:33:11 +0100
Cc: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>
Delivery-date: Mon, 22 Jan 2007 07:32:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <87bqkrqe6q.fsf@xxxxxxxxxxxxxxxxx>
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: <C1D69CCA.7E66%keir@xxxxxxxxxxxxx> <45B46CBF.7010406@xxxxxxx> <45B4C3C0.1030406@xxxxxxx> <87bqkrqe6q.fsf@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20060911)
Markus Armbruster wrote:
> Gerd Hoffmann <kraxel@xxxxxxx> writes:
> 
>> +    ret = xenbus_printf(xbt, dev->nodename, "protocol", "%s",
>> +                        XEN_IO_PROTO_ABI_NATIVE);
>> +    if (ret)
>> +            goto error_xenbus;
> 
> This identifies the ABI, but how does it provide versioning?

#define XEN_IO_PROTO_FB_GRANT_TABLES "fb-grant-tables" ?

Just create a descriptive name you like.  Assuming we don't create
abi-dependent structs *again* when we change the protocol.

We can of course also just use XEN_IO_PROTO_ABI_NATIVE "-v2".  With the
protocol identifier being a string there lots of ways ...

cheers,
  Gerd

-- 
Gerd Hoffmann <kraxel@xxxxxxx>

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