From: Keir Fraser Subject: Re: Cannot create domU Date: Mon, 26 Sep 2005 16:41:16 +0100 Message-ID: References: <20050923173759.GA25613@vrable.net> <623652d5050923153973b9804c@mail.gmail.com> <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 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050926150135.GA15781@kroah.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Greg KH Cc: Chris Bainbridge , xen-devel List-Id: xen-devel@lists.xenproject.org >> 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 >> , 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. -- Keir