mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
As it stands oxenstored will be used by default if ocaml tools are found, the init system will also try to use oxenstored first if its found otherwise the cxenstored will be used. Lets simplify the init script and let users be explicit about the preference through configure. This adds support to let you be explicit about the xenstored preference, you can only use one of these two options: ./configure --with-xenstored=xenstored ./configure --with-xenstored=oxenstored We continue with the old behaviour and default oxenstored will be used but only if you have ocaml dependencies. Since the xenstored preference is explicit now and since we require configure substitutions for it we make use of the AX_XEN_EXPAND_CONFIG() helpers as otherwise substitution for SBINDIR is not propagated from the top level configuration. All this allows us to simplify the init script to use the configured xenstore from the start. We update the sysconfig/default xencommons file with the paths for the different options though, this can be used by users to override the default xenstored, this follows the old behaviour but we now just explicitly provide the full configured paths for users. As before, changing the xenstore requires a reboot. In order to help with documentation we update the README with some details on configure usage refer to the wiki [0] [1] [2] for more elaborate details. Since we are now parsing an entry within Paths.mk.in on tools we let the move the parsing of the file to be the tool's configure. [0] http://wiki.xen.org/wiki/Xenstored [1] http://wiki.xen.org/wiki/XenStore [2] http://wiki.xen.org/wiki/XenStoreReference Cc: Ian Campbell <ian.campbell@citrix.com> Cc: Ian Jackson <ian.jackson@eu.citrix.com> Cc: Jan Beulich <jbeulich@suse.com> Cc: Keir Fraser <keir@xen.org> Cc: Tim Deegan <tim@xen.org> Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> [ ijc -- ran autogen.sh ]
43 lines
975 B
Plaintext
43 lines
975 B
Plaintext
## Path: System/Virtualization
|
|
## Type: string
|
|
## Default: "none"
|
|
#
|
|
# Log xenconsoled messages (cf xl dmesg)
|
|
#XENCONSOLED_TRACE=[none|guest|hv|all]
|
|
|
|
## Type: string
|
|
## Default: xenstored
|
|
#
|
|
# Select xenstore implementation, this can be either
|
|
# of these below. If using systemd it's preferred that you
|
|
# just edit the xenstored.service unit file and change
|
|
# the XENSTORED variable there.
|
|
#
|
|
# This can be either of:
|
|
# * @SBINDIR@/oxenstored
|
|
# * @SBINDIR@/xenstored
|
|
#
|
|
# Changing this requires a reboot to take effect.
|
|
#XENSTORED=@XENSTORED@
|
|
|
|
## Type: string
|
|
## Default: Not defined, tracing off
|
|
#
|
|
# Log xenstored messages
|
|
#XENSTORED_TRACE=[yes|on|1]
|
|
|
|
## Type: string
|
|
## Default: "/var/lib/xenstored"
|
|
#
|
|
# Running xenstored on XENSTORED_ROOTDIR
|
|
#XENSTORED_ROOTDIR=/var/lib/xenstored
|
|
|
|
## Type: string
|
|
## Default: Not defined, xenbackendd debug mode off
|
|
#
|
|
# Running xenbackendd in debug mode
|
|
#XENBACKENDD_DEBUG=[yes|on|1]
|
|
|
|
# qemu path
|
|
#QEMU_XEN=/usr/lib/xen/bin/qemu-system-i386
|