From 314e64084d310263417f5caf0668cca3d160ba1c Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Thu, 26 Jul 2012 16:47:32 +0100 Subject: libxl: add option to choose who executes hotplug scripts Add and option to xl.conf file to decide if hotplug scripts are executed from the toolstack (xl) or from udev as it used to be in the past. This option is only introduced in this patch, but it has no effect since the code to call hotplug scripts from libxl is introduced in a latter patch. This choice will be saved in "libxl/disable_udev", as specified in the DISABLE_UDEV_PATH constant. Signed-off-by: Roger Pau Monne Acked-by: Ian Jackson Committed-by: Ian Campbell --- tools/examples/xl.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/examples') diff --git a/tools/examples/xl.conf b/tools/examples/xl.conf index ebf057c37a..28ab796ea3 100644 --- a/tools/examples/xl.conf +++ b/tools/examples/xl.conf @@ -15,3 +15,8 @@ # first block device to be used for temporary VM disk mounts #blkdev_start="xvda" + +# default option to run hotplug scripts from xl +# if disabled the old behaviour will be used, and hotplug scripts will be +# launched by udev. +#run_hotplug_scripts=1 -- cgit v1.2.3