This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH]: xl: use libuuid to generate random UUID's

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH]: xl: use libuuid to generate random UUID's
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Date: Tue, 10 Aug 2010 12:14:19 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Ian, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>, Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Gianni Tedesco \(3P\)" <gianni.tedesco@xxxxxxxxxx>
Delivery-date: Tue, 10 Aug 2010 04:16:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1281437086.24292.3882.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1280944162.18490.219.camel@xxxxxxxxxxxxxxxxxxxxxx> <4FA716B1526C7C4DB0375C6DADBC4EA37AD0596B2F@xxxxxxxxxxxxxxxxxxxxxxxxx> <4C5A21A3.3020601@xxxxxxxx> <1281437086.24292.3882.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100805 Icedove/3.0.6
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).


Xen-devel mailing list