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

Re: [Embedded-pv-devel] [PATCH v9] xen: add para-virtual sound interface header files



>>> On 24.11.16 at 14:18, <artem_mygaiev@xxxxxxxx> wrote:
> On 24.11.16 15:04, Jan Beulich wrote:
>>> In my case I need it to at least define Linux specific __packed
>>> attribute which is not supported by Win AFAIK.
>> ... needs to avoid using platform specific constructs (or making
>> other assumptions on the platform). I can only re-iterate: Please
>> follow the model other PV protocols already present (without
>> repeating their mistakes, if at all possible).
> But if we don't pack (or enforce some specific alignment) data
> structures used between domains they may have different alignment on
> different domains, no?

Let me repeat what I've said before: Please take a look at existing
interface headers. By properly placing fields and adding explicit
padding where needed, you can avoid such layout differences.

Jan


_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

 


Rackspace

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