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

Re: [Xen-devel] 32-on-64: pvfb issue



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


 


Rackspace

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