From: Ian Jackson Subject: Re: [PATCH RFC 17/23] libxl: add support for FreeBSD uuid implementation Date: Thu, 17 Apr 2014 18:11:56 +0100 Message-ID: <21328.2908.708764.738978@mariner.uk.xensource.com> References: <1397657612-57277-1-git-send-email-roger.pau@citrix.com> <1397657612-57277-18-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wapr1-00061v-Rd for xen-devel@lists.xenproject.org; Thu, 17 Apr 2014 17:12:06 +0000 In-Reply-To: <1397657612-57277-18-git-send-email-roger.pau@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: xen-devel@lists.xenproject.org, Ian Campbell List-Id: xen-devel@lists.xenproject.org Roger Pau Monne writes ("[PATCH RFC 17/23] libxl: add support for FreeBSD uuid implementation"): > Add the FreeBSD specific uuid implementation. Since uuid_t is not > defined as an array, but as a struct on FreeBSD, use a union with a > array in order to be able to return the uuid as a bytearray. I don't have a FreeBSD machine here to hand, but if it's a struct full of >1-byte objects, aren't there endian problems with this approach ? Ian.