From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Bouchareine Subject: Re: [PATCH] [Xend] Move some backend configuration Date: Tue, 30 Sep 2008 19:09:27 +0200 Message-ID: <20080930170927.GA9696@bar.gandi.net> References: <20080930153054.GE15442@redhat.com> <20080930163552.GF15442@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20080930163552.GF15442@redhat.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: "Daniel P. Berrange" Cc: xen-devel@lists.xensource.com, Keir Fraser , John Levon List-Id: xen-devel@lists.xenproject.org On Tue, Sep 30, 2008 at 05:35:52PM +0100, Daniel P. Berrange wrote: > libvirt to read from the new locations. The only thing I need to work > out is a reliable way to choose when to use the new location, vs the > looking at old location (for compat with existing deployments). I think /vm_path existence indicates to look through /vm/, as for the race I'm not sure how to handle this, however /vm and /vm_path are updated before device creation - this should be equivalent to looking at /local/domain. -- \o/ Pascal Bouchareine - Gandi g 0170393757 15, place de la Nation - 75011 Paris