From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Hanquez Subject: Re: [PATCH]: xl: use libuuid to generate random UUID's Date: Tue, 10 Aug 2010 12:14:19 +0100 Message-ID: <4C61348B.6000000@eu.citrix.com> References: <1280944162.18490.219.camel@qabil.uk.xensource.com> <4FA716B1526C7C4DB0375C6DADBC4EA37AD0596B2F@LONPMAILBOX01.citrite.net> <4C5A21A3.3020601@goop.org> <1281437086.24292.3882.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1281437086.24292.3882.camel@zakaz.uk.xensource.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: Ian Campbell Cc: Jeremy Fitzhardinge , Ian, Stefano Stabellini , Jackson , Ian Pratt , Xen Devel , "Gianni Tedesco (3P)" List-Id: xen-devel@lists.xenproject.org On 10/08/10 11:44, Ian Campbell wrote: > Where I care about a stable MAC I use > vif = [ 'mac=xx:xx:xx:xx:xx:xx' ] > in my domain config file. AFAICT that is the only 100% reliable way to > get a stable MAC address since the other schemes all have some corner > case or other... At the expense of the common error of having 2 vms with the same mac address because one copied the config file and forgot to change the mac address. XCI and XCP doesn't have any "corner cases or other" since uuid uniquess is enforced which means mac too (siding apart the unlikely hash collisions). -- Vincent