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

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



On Tue, May 15, 2012 at 10:00 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> On Tue, 2012-05-15 at 12:09 +0100, Daniel Castro wrote:
>> On Wed, May 9, 2012 at 5:18 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
>> > 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.
>> I was not doing this, now it is written in xenstore, as Ian´s
>> suggestion 32-abi, yet the same problem persists...
>> After RING RESPONSE 0x0009a040
>> status:9
>> operation 0
>> id:256
>> This above is the content of the response. The id should be 9. If I
>> change the id the response status will change to the same number. Any
>> ideas?
>
> Compare the layout and data sizes of the members of your request and
> response structures very carefully with the ones in xen/include/public.

I have done this, and they are in fact identical. Here are the
addresses of the fields...
RING at 0x0009a040
0x0009a04a status:0
0x0009a048 operation 0
0x0009a040 id:256

What else could it be?

>
> Ian.
>
>



-- 
+-=====---------------------------+
| +---------------------------------+ | This space intentionally blank
for notetaking.
| |   | Daniel Castro,                |
| |   | Consultant/Programmer.|
| |   | U Andes                         |
+-------------------------------------+

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