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

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


  • To: Daniel Castro <evil.dani@xxxxxxxxx>
  • From: James Harper <james.harper@xxxxxxxxxxxxxxxx>
  • Date: Wed, 9 May 2012 07:54:29 +0000
  • Accept-language: en-AU, en-US
  • Cc: Jan Beulich <JBeulich@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 09 May 2012 07:55:19 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: AQHNLBr5hYy2wnYk20yOkqACgRrWVJa9VeyAgACr7DCAAAKHAIACRCsAgADOceA=
  • Thread-topic: [Xen-devel] Little help with blk ring

> 
> 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. 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


 


Rackspace

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