|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for-4.6] tools/hotplug: Add an initscript to start "xl devd" in a driver domain
On Wed, 2015-07-15 at 16:35 +0100, George Dunlap wrote:
> On 07/15/2015 04:32 PM, Ian Jackson wrote:
> > Ian Campbell writes ("[PATCH for-4.6] tools/hotplug: Add an initscript to
> > start "xl devd" in a driver domain"):
> >> The removal of the udev rules highlighted that although it has been
> >> replaced by "xl devd" there isn't an initscript to replace it.
> >
> > Despite
> >
> >> +# NOTE: This initscript is not needed on dom0.
> >
> > I didn't see anything which would stop it running on dom0. I don't
> > think running it on dom0 is a good idea; it might fight with libxl.
Good point.
> I think Ian's idea was that the admin should know not to run it in dom0,
> and only enable it in driver domains.
>
> Do you think we should do something to actively prevent it running in
> dom0? Do we have a good way to determine whether we're in dom0 or not?
> (Or more apropos, whether we're running in the toolstack domain?)
Actually, when I cribbed from xencommons I removed the test for "am I in
dom0". I think what I should have done was invert it...
I don't know of an equivalent test for the *BSDs.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |