Add xl init scripts
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 7 Jun 2010 06:05:54 +0000 (07:05 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 7 Jun 2010 06:05:54 +0000 (07:05 +0100)
commit0cc54b151a15499cf7d4548a1cc379fe93745d3c
tree7b17d7a155e2b7a74eccdd8c5a0538c309192dab
parent2495a965a0724b4972ab86c6f6049e40c5f8690f
Add xl init scripts

this patch adds an init script for xl, so that it can be used without
xend installed on the system.  In cases in which both toolstacks are
present, only one init script will be run, dependening on the value of
xen_toolstack in /etc/sysconfig/xen_toolstack.  Please note that a
correct value of xen_toolstack (either xl or xend), is required now.
The network script and the vif script to be used with xl can be
specified in /etc/sysconfig/xenlightdaemons.  Xl sets the vif script
to xl-vif-script by default, that reads /etc/sysconfig/xenlightdaemons
and calls the vif script set there.  A port to a debian system should
be straightforward, just replacing /etc/sysconfig with /etc/default
everywhere.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/hotplug/Linux/Makefile
tools/hotplug/Linux/init.d/xend
tools/hotplug/Linux/init.d/xendomains
tools/hotplug/Linux/xl-vif-script [new file with mode: 0644]
tools/libxl/libxl.h
tools/libxl/libxl_internal.h
tools/libxl/xl_cmdimpl.c