WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [RFC] Switching store to use domain id's for keys

To: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [RFC] Switching store to use domain id's for keys
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 5 Sep 2005 09:52:02 +0100
Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
Delivery-date: Mon, 05 Sep 2005 08:45:15 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E1ECCRk-0000ZH-00@xxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E1ECCRk-0000ZH-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 5 Sep 2005, at 09:35, Steven Hand wrote:

You have a unique identifier which is already used by the tools and is
simple to understand.

Well actually I currently have two; user-defined 'names' and UUIDs. I'm
arguing that we retain these two (along with the third sort of 'name'
in the form of domain ids) but use them more appropriately.

Can we not just sidestep this issue by saying that UUIDs are arbitrary strings? Then people who want to use names at that level can do so, and we can use random strings or DCE UUIDs or whatever else when we want to auto-generate a UUID (and I can think of scenarios where this will be the case, and the user will not be specifying the name nor care what that name is).

I think pretty much every user of the store treats UUIDs as opaque, so this seems a good solution to me. The argument that UUIDs are regular and easy to generate is not a winner for me.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel