From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Smith Subject: Re: [PATCH] Prevent xend from starting duplicate domains Date: Tue, 13 Sep 2005 17:06:17 -0700 Message-ID: <878xy0sebq.fsf@us.ibm.com> References: <87d5ncsksl.fsf@us.ibm.com> <43275ED7.2090709@blueyonder.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <43275ED7.2090709@blueyonder.co.uk> (David Hopwood's message of "Wed, 14 Sep 2005 00:20:55 +0100") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org DH> Surely there's a race condition here? The hypervisor op that DH> creates a domain has to fail if it would result in two domains DH> with the same name; With the same domid? Yes. Unless I'm completely missing something, the hypervisor knows nothing of the *names* of the domains. Am I wrong? DH> this can't be reliably enforced by a separate check in the Python DH> tools. Going on the assumption that the names are known only to the tools, I think the tools are the best place to perform the check. -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com