libxl: add option to choose who executes hotplug scripts
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 26 Jul 2012 15:47:32 +0000 (16:47 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Thu, 26 Jul 2012 15:47:32 +0000 (16:47 +0100)
commit314e64084d310263417f5caf0668cca3d160ba1c
tree57c2de57103db35a500c431583b39e4cac044b2a
parent2d40cd6513387013f2d0409af1366f738ffa134d
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>
docs/man/xl.conf.pod.5
tools/examples/xl.conf
tools/libxl/libxl_create.c
tools/libxl/libxl_dm.c
tools/libxl/libxl_internal.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_types.idl
tools/libxl/xl.c
tools/libxl/xl.h
tools/libxl/xl_cmdimpl.c