>>> On 24.11.16 at 14:18, <artem_myga...@epam.com> 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel