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

Re: [Xen-devel] [PATCH] blkif: add indirect descriptors interface to public headers



>> If it is the Linux one which of the fields is  messed up? The whole struct
>> (including the extra uint8 cmd) should be exactly 64 bytes.
>>
>> I am pretty sure we double checked that.
>
>How can this possibly be the same between 32-bit and 64-bit builds (unless 
>CONFIG_X86_64 is defined in both
>cases)? And the fact that nr_segments won't be naturally aligned is pretty bad 
>too.

D'oh, I missed the pad at the end, so they are the same size but that doesn't 
stop the layout being different and hence needing to make sure the ABI is set 
correctly in xenstore.

  Paul

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