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] Cannot create domU

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

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

<Prev in Thread] Current Thread [Next in Thread>