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/
Home Products Support Community News


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

To: Jacob Gorm Hansen <jacobg@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Triggering hotplug scripts multiple times
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 30 Mar 2007 09:08:46 +0100
Delivery-date: Fri, 30 Mar 2007 09:10:11 +0100
Envelope-to: Keir.Fraser@xxxxxxxxxxxx
In-reply-to: <20070330080149.GA3725@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: AcdyoqOy4iiINN6VEduBHgAWy6hiGQ==
Thread-topic: [Xen-devel] Triggering hotplug scripts multiple times
User-agent: Microsoft-Entourage/

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

> I am not sure what the correct workaround is, other than paying
> attention to the quality of hotplug scripts.  Somehow it feels wrong
> that a guest domain is able to arbitrarily trigger scripts in dom0,
> though the ability to restart devices is a necessity for unprivileged
> boot-loaders.  Perhaps the hotplug scripts should only be triggered
> once, the first time the frontend is configured?

I thought the scripts only triggered when the backend device was first
created. I don't think they should need to execute on frontend state

 -- Keir

Xen-devel mailing list