From: Rusty Russell Subject: Re: Re: Timeout connecting to device Date: Mon, 29 Aug 2005 10:17:18 +1000 Message-ID: <1125274638.17314.12.camel@localhost.localdomain> References: <430A387C.2030108@intel.com> <430BCF14.2040409@intel.com> <1124858620.17004.96.camel@localhost.localdomain> <3d8eece2050824012547b9bb89@mail.gmail.com> <1124939936.9810.16.camel@localhost.localdomain> <20050825110117.GD13781@cl.cam.ac.uk> <1125016027.9945.45.camel@localhost.localdomain> <20050826103748.GI24659@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050826103748.GI24659@cl.cam.ac.uk> 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 Cc: Arun Sharma , xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, 2005-08-26 at 11:37 +0100, Christian Limpach wrote: > On Fri, Aug 26, 2005 at 10:27:06AM +1000, Rusty Russell wrote: > > A slight variation on this would be to have the tools create the > > "setting-up" node, and the driver delete it when it's happy. > > > > I want to leave the error node on every error, so that way you can tell > > if it can't read the backend because of permission problem or something, > > even if during setup. > > How do you tell if an error is final though? Removing the setting-up > node sounds kind of misleading since the device is not done setting-up. > I think we need to indicate somehow whether an error is final or > transient, but I don't think we should require the format of the > error message to somehow indicate this. I don't think the frontend can, in general, tell the difference between a final error and a transient one. The problem may simply be that the backend never creates a node we need. If we're completely giving up, we could remove the setting-up node, but I'm not sure it's worth it? Rusty. -- A bad analogy is like a leaky screwdriver -- Richard Braakman