From: Greg KH Subject: Re: Cannot create domU Date: Mon, 26 Sep 2005 14:22:00 -0700 Message-ID: <20050926212200.GB18670@kroah.com> References: <7d249e777fd88c08faab74751b15fca6@cl.cam.ac.uk> <623652d50509240354750991d3@mail.gmail.com> <9f173d1d7dea2ed7b9d458acd070f552@cl.cam.ac.uk> <623652d505092413006f3950b@mail.gmail.com> <20050926124707.GA13414@kroah.com> <20050926141407.GA15384@kroah.com> <22f2b04bae14c3efa4833ce013cc4542@cl.cam.ac.uk> <20050926150135.GA15781@kroah.com> 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: Chris Bainbridge , xen-devel List-Id: xen-devel@lists.xenproject.org On Mon, Sep 26, 2005 at 04:41:16PM +0100, Keir Fraser wrote: > > >>Our main hotplug event function is in > >>drivers/xen/xenbus/xenbus_probe.c > > > >Have an online source browser anywhere? > > http://lxr.xensource.com/lxr-unstable/source/drivers/xen/xenbus/ > xenbus_probe.c?v=linux-2.6.12-xen-xen-unstable Thanks for the link. > >>, I think (it's used by our network driver at least). Actually xenbus > >>registers all our virtual devices with sysfs, and I guess that > >>generates some hotplug events automatically? > > > >Yes, it will. You should _never_ call /sbin/hotplug on your own. The > >one last holdout in the kernel is the input subsystem, and that will be > >fixed very soon. > > Looks like we don't call it directly. I think our 'hotplug' function > just adds useful extra variables to the environment and leaves it to > sysfs to do the actual upcalls. Yes, that is exactly what happens. thanks, greg k-h