From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: [PATCH for-4.6 v2] tools/hotplug: Add an initscript to start "xl devd" in a driver domain Date: Fri, 17 Jul 2015 10:05:24 +0100 Message-ID: <20150717090524.GF12455@zion.uk.xensource.com> References: <1436890874.11153.14.camel@citrix.com> <1437065907-30388-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <1437065907-30388-1-git-send-email-ian.campbell@citrix.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 Campbell Cc: wei.liu2@citrix.com, George Dunlap , ian.jackson@eu.citrix.com, xen-devel@lists.xen.org, Konrad Rzeszutek Wilk , Roger Pau =?iso-8859-1?Q?Monn=E9?= List-Id: xen-devel@lists.xenproject.org On Thu, Jul 16, 2015 at 05:58:27PM +0100, Ian Campbell wrote: > The removal of the udev rules highlighted that although it has been > replaced by "xl devd" there isn't an initscript to replace it. > = > To enable this add a --pidfile option to xl devd. > = > Tested on Linux by running the script in dom0 and checking the daemon > was started/stopped, but not in an actual driver domain environment > since I don't have one conveniently available. I also checked that > running without the --pidfile option still works. > = > Scripts mainly cribbed from the xencommons for each platform. > = > Signed-off-by: Ian Campbell > Cc: Roger Pau Monn=E9 > Cc: Konrad Rzeszutek Wilk > Cc: George Dunlap > --- > For 4.6: I think having removed the udev rules we ought to include > this, it's basically zero risk to normal operation. > = > Nothing seems to start xl devd for domain 0 in *BSD, nor is xenbackend > started. Is that correct? > = With my RM hat on: Release-acked-by: Wei Liu