From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [PATCH for-4.6] tools/hotplug: Add an initscript to start "xl devd" in a driver domain Date: Wed, 15 Jul 2015 16:35:25 +0100 Message-ID: <55A67DBD.3090006@eu.citrix.com> References: <1436890874.11153.14.camel@citrix.com> <1436958450-14336-1-git-send-email-ian.campbell@citrix.com> <21926.31994.329837.650986@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21926.31994.329837.650986@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson , Ian Campbell Cc: Konrad Rzeszutek Wilk , =?windows-1252?Q?Roger_?= =?windows-1252?Q?Pau_Monn=E9?= , wei.liu2@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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. 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?) -George