From: John Levon Subject: Re: [PATCH] [Xend] Move some backend configuration Date: Tue, 30 Sep 2008 15:58:18 +0100 Message-ID: <20080930145818.GC22049@totally.trollied.org.uk> References: <20080930144340.GB22049@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Pascal Bouchareine , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Sep 30, 2008 at 03:48:29PM +0100, Keir Fraser wrote: > On 30/9/08 15:43, "John Levon" wrote: > > > On Tue, Sep 30, 2008 at 04:24:43PM +0200, Pascal Bouchareine wrote: > > > >> This patch moves some dom0 variables and backend device > >> configuration from frontend directories to > >> /local/domain//backend or /vm. > > > > What is the point of this? These paths, however wrong they might be, are > > API, surely. > > Which guaranteed API would that be? These paths are private to the toolstack > implementation. Perhaps the only exception is the Precisely the problem, there's absolutely no idea or indication what is and isn't private. Thus you get libvirt looking in places it maybe shouldn't, but how are they supposed to know? I'm pretty sure this patch breaks libvirt again. > xenconsoled-to-console-client xenstore path, but that is the one that most > urgently needs to change, since we can't trust domUs not to mess with the > tty path, for example. If it's a security fix (and I see the issue), it needs to be much more public than this patch was, and of course backported to at least 3.2 ASAP. regards john