From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: [RFC] Switching store to use domain id's for keys Date: Tue, 30 Aug 2005 15:32:46 -0500 Message-ID: <4314C26E.9020408@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christian Limpach , Rusty Russell , xen-devel List-Id: xen-devel@lists.xenproject.org Hey guys, As I go through the console code, I notice that the domain console information is being stored in /console/%d/domain instead of within the /domain tree as one would expect. The reasoning seems obvious to me, there's no easy way to get the UUID for a domain so constructing a UUID based path outside of Xend is very difficult. Perhaps now is a good time to reconsider just using domain ids instead of UUIDs for the paths? In a cluster we could just use /domain/ for unique identification. Or, if we really want to use UUIDs in the node path, perhaps we can add UUIDs to the domain structure in the hypervisor so that we can actually query it through getdomaininfo? Regards, Anthony Liguori