From: Jacob Gorm Hansen Subject: Re: Triggering hotplug scripts multiple times Date: Fri, 30 Mar 2007 16:32:01 +0200 Message-ID: <20070330143201.GA7727@jacobpad.daimi.au.dk> References: <20070330092550.GA4617@jacobpad.daimi.au.dk> 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: Xen-devel , Jacob Gorm Hansen List-Id: xen-devel@lists.xenproject.org On Fri, Mar 30, 2007 at 03:25:21PM +0100, Keir Fraser wrote: > On 30/3/07 10:25, "Jacob Gorm Hansen" wrote: > > > Another problem with how this currently works is that vifs don't get > > garbage collected properly if the domain is killed without a proper > > shutdown. > > I would classify these behaviours as bugs. :-) We shouldn;t be device > unregistering until the online status is set to 0 or the directory in > xenstore is removed entirely. I agree, I had a look at the netback xenbus code and tried various workarounds, but did not come up with anything that works better than the current stuff. There are some thorny issues with regards to unmapping/remapping the rx/tx rings and so on that must be dealt with correctly, if this is to work. For now, I will create a bug in bugzilla, and have a go at fixing it later, unless someone beats me to it. Regards, Jacob