From: Stefano Stabellini Subject: Re: [PATCH]: xl: use libuuid to generate random UUID's Date: Thu, 5 Aug 2010 17:42:50 +0100 Message-ID: References: <1280944162.18490.219.camel@qabil.uk.xensource.com> <4FA716B1526C7C4DB0375C6DADBC4EA37AD0596B2F@LONPMAILBOX01.citrite.net> <4C5A8216.6030607@eu.citrix.com> <201008051213.49800.Christoph.Egger@amd.com> <4C5A9C4B.3040502@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <4C5A9C4B.3040502@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Vincent Hanquez Cc: Christoph Egger , Ian, Stefano Stabellini , Ian Jackson , Pratt , "xen-devel@lists.xensource.com" , "Gianni Tedesco (3P)" List-Id: xen-devel@lists.xenproject.org On Thu, 5 Aug 2010, Vincent Hanquez wrote: > On 05/08/10 11:13, Christoph Egger wrote: > > I want to mention that Linux and NetBSD's uuid are different. > > > That's one of the reason the uuid type as been just an array of bytes > (up to this patch). > My reasoning was that anyone can use any libraries they want at the > application-that-use-libxl level, and just need to feed the array of > bytes with whatever has generated an uuid, be it a poor quality version > or a good one. I think it would be nice to provide a simple function in libxl that does that for you, especially if we consider that it is easy to get it wrong.