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] [patch 5/6] frontend device shutdown

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, Gerd Hoffmann <kraxel@xxxxxxx>, Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [patch 5/6] frontend device shutdown
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 19 Aug 2006 13:29:11 +0100
Delivery-date: Sat, 19 Aug 2006 05:38:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C10CC1B1.81E%Keir.Fraser@xxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbDioAtvukU8C99Edu36QANk04WTAAAJKiJ
Thread-topic: [Xen-devel] [patch 5/6] frontend device shutdown
User-agent: Microsoft-Entourage/11.2.5.060620


On 19/8/06 1:25 pm, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx> wrote:

> I've gone some way to cleaning this up in changeset 11203, which instead has
> xenbus_read_driver_state() return XenbusStateUnknown if the frontend
> directory is missing. You should use this to distinguish the Closed and
> Unkown states in the backend drivers: this will mean that you won't need to
> avoid entering state Closed in the frontend drivers.

By the way, changing this frontend behaviour may mean you need to tweak your
patch to the backend drivers, allowing reconnection, which I already checked
in (changeset 11194). I'm not sure though: maybe that patch will still work.

 -- Keir



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