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] Triggering hotplug scripts multiple times

To: Jacob Gorm Hansen <jacobg@xxxxxxx>
Subject: Re: [Xen-devel] Triggering hotplug scripts multiple times
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 30 Mar 2007 15:25:21 +0100
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 30 Mar 2007 15:26:18 +0100
Envelope-to: Keir.Fraser@xxxxxxxxxxxx
In-reply-to: <20070330092550.GA4617@xxxxxxxxxxxxxxxxxxxx>
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: Acdy1z9dfixzTd7KEdusYQAWy6hiGQ==
Thread-topic: [Xen-devel] Triggering hotplug scripts multiple times
User-agent: Microsoft-Entourage/11.3.3.061214


On 30/3/07 10:25, "Jacob Gorm Hansen" <jacobg@xxxxxxx> wrote:

> Problem is that if the domain disconnects from the netif, which it has
> to when handing over the device to the domU kernel from a bootloader,
> the netif is destroyed, and when the new one is created the hotplug
> script gets kicked, e.g.:
> 
> I suppose one could postpone freeing the netif until the domain has gone
> away.
> 
> 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.

 -- Keir



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