[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • To: Jacob Gorm Hansen <jacobg@xxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acdy1z9dfixzTd7KEdusYQAWy6hiGQ==
  • Thread-topic: [Xen-devel] Triggering hotplug scripts multiple times

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.