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

Re: [Xen-devel] Little help with blk ring

On Wed, 2012-05-09 at 08:54 +0100, James Harper wrote:
> > 
> > I am writing the PV Driver front end in Seabios.
> > 
> > Could you explain your method in a little more detail please?
> > 
> I'm not sure that my way is the best way. The existing linux pv
> drivers should do what you want - have a look at the source. If you
> really want to look at my code you can get it from hg and have a look.
> It's in the xenvbd driver.
> And I think I got it backwards in a previous email. It seems that the
> frontend writes the protocol into the xenstore, eg "x86_64-abi" for 64
> bit.

That's right, xen/include/public/io/protocols.h defines the valid
protocols, your frontend should publish the one it implements (probably
x86_32-abi for a SeaBIOS driver).

>  You should probably just make sure your structures are correctly laid
> out for a 32 bit system and then write the correct protocol string
> into the frontend when you set up communications and that should
> ensure that it will work on all but the most ancient Xen
> implementations.
> James
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel

Xen-devel mailing list



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