diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2012-07-26 16:47:32 +0100 |
---|---|---|
committer | Roger Pau Monne <roger.pau@citrix.com> | 2012-07-26 16:47:32 +0100 |
commit | 314e64084d310263417f5caf0668cca3d160ba1c (patch) | |
tree | 57c2de57103db35a500c431583b39e4cac044b2a /tools/libxl/xl.h | |
parent | 2d40cd6513387013f2d0409af1366f738ffa134d (diff) | |
download | xen-314e64084d310263417f5caf0668cca3d160ba1c.tar.gz xen-314e64084d310263417f5caf0668cca3d160ba1c.tar.bz2 xen-314e64084d310263417f5caf0668cca3d160ba1c.zip |
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 <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/xl.h')
-rw-r--r-- | tools/libxl/xl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/xl.h b/tools/libxl/xl.h index b0ba357d3c..0b2f848f90 100644 --- a/tools/libxl/xl.h +++ b/tools/libxl/xl.h @@ -140,6 +140,7 @@ int xl_child_pid(xlchildnum); /* returns 0 if child struct is not in use */ /* global options */ extern int autoballoon; +extern int run_hotplug_scripts; extern int dryrun_only; extern char *lockfile; extern char *default_vifscript; |