| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
 Re: [Xen-devel] [PATCH v4 03/11] public: xen.h: add definitions for	UUID handling
 
To: Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx>From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>Date: Thu, 31 Aug 2017 15:34:55 +0100Cc: "Edgar E . Iglesias" <edgar.iglesias@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wei.liu2@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Tim Deegan <tim@xxxxxxx>, xen-devel@xxxxxxxxxxxxx, Julien Grall <julien.grall@xxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>Delivery-date: Thu, 31 Aug 2017 14:35:37 +0000List-id: Xen developer discussion <xen-devel.lists.xen.org> 
 Volodymyr Babchuk writes ("Re: [PATCH v4 03/11] public: xen.h: add definitions 
for UUID handling"):
> Do you have any ideas how to indicate endianess of the fields, then? I 
> can just write it in the comments. But I fear of misuse.
I definitely prefer your approach of providing only an array.  (It
needs to be in a struct for typesafety, as discussed.)  At least that
way the semantics are clear.
No-one is likely to want to access these individual fields.  If they
do so they are doing something very wrong.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
 |