Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

Re: [Xen-devel] Triggering hotplug scripts multiple times

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Triggering hotplug scripts multiple times
From: Jacob Gorm Hansen <jacobg@xxxxxxx>
Date: Fri, 30 Mar 2007 16:32:01 +0200
Cc: Jacob Gorm Hansen <jacobg@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 30 Mar 2007 15:34:45 +0100
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:sender; b=D4P0xqFE9oFTM58zINX7uG6WKlrNsEgvm4s8FfNr6g/J6mtHR/sIck94FLnuCswnEX/RrVnltJY7J2h0hhGiFKBjt3617bP8+g98KnlWG/VkpQ/IOd1FwiQ3Pyj+/3il+Z+oqK0lE+tyc6q3d37ONp97AnPkrXNatQvw5097DCg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:sender; b=HvKyTKa6nlbu7j/OnugTfMhp6CRTQ6rdu+vvu3/HzfroelKu0gPbQBu80KIYnf4AMOnqwxEWo70xpip1tGxqqNDmYdK2AuTz6KGcnZnFvLHeThk9399ZCMYAC+XTlQmd5W45QFN/ptcCkMU+p4RsVN9e7qKMf/Mp+ZMB4e4hwx8=
Envelope-to: Keir.Fraser@xxxxxxxxxxxx
In-reply-to: <C232DC61.52AC%Keir.Fraser@xxxxxxxxxxxx>
References: <20070330092550.GA4617@xxxxxxxxxxxxxxxxxxxx> <C232DC61.52AC%Keir.Fraser@xxxxxxxxxxxx>
Sender: Jacob Gorm Hansen <jacobgorm@xxxxxxxxx>
User-agent: Mutt/1.5.12-2006-07-14
On Fri, Mar 30, 2007 at 03:25:21PM +0100, Keir Fraser wrote:

> On 30/3/07 10:25, "Jacob Gorm Hansen" <jacobg@xxxxxxx> 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