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: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] 32-on-64: pvfb issue
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Mon, 22 Jan 2007 08:50:23 +0100
Cc: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>, Markus Armbruster <armbru@xxxxxxxxxx>
Delivery-date: Sun, 21 Jan 2007 23:49:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1D69CCA.7E66%keir@xxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (X11/20060911)
  Hi,

> And we can do so. xenbus_get_native_protocol()? Frontends can write the
> returned string; backends can strcmp with the returned string (and usually
> fail on mismatch). The few mismatches we do care about will result in us
> executing driver-specific code anyway: drivers can declare 'native' ABI to
> be 0 and have special-case driver-specific non-zero values for the
> non-native protocols they care about. Would that actually be more code than
> the potentially-knows-about-every-driver-in-the-world approach of
> protocols.h?

I'll go code up both front and back bits for block and pvfb to see how
it works out in practice, I think I'll have patches later today or
tomorrow ...

> If we can agree on a location for the protocol field (same directory as the
> xenbus state field?),

Yes.

> and a set of names (yours are fine, including the
> '-abi' suffix),

Yep, those I'll plan to put into a common header file so they can be
shared in any case.  Not sure any more how useful sharing the enum for
the protocol actually is, I'll see when coding up things.

> and a time in xenbus state machine to write the protocol

Same transaction event-channel is written.

stay tuned,
  Gerd

-- 
Gerd Hoffmann <kraxel@xxxxxxx>

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