diff options
author | emellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com> | 2005-10-21 12:04:30 +0100 |
---|---|---|
committer | emellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com> | 2005-10-21 12:04:30 +0100 |
commit | fb22028e119ab7422cf19b76ed3e56ee66ba703a (patch) | |
tree | e4cc340067e073aedabb215d7646fa09bb17f0ed /tools/examples/xend-config.sxp | |
parent | 3a2351fdda41298a04ccae4f27f571971c40ce76 (diff) | |
download | xen-fb22028e119ab7422cf19b76ed3e56ee66ba703a.tar.gz xen-fb22028e119ab7422cf19b76ed3e56ee66ba703a.tar.bz2 xen-fb22028e119ab7422cf19b76ed3e56ee66ba703a.zip |
Tidy xend-config.sxp, removing entries that haven't been used since the
hotplugging stuff was introduced (block-*, console-port-base, console-address)
and introducing entries for options that have been present for ages
(xend-{http,unix,relocation}-server, xend-unix-path, xend-relocation-address,
enable-dump). Remove vif-antispoof, as Vifctl no longer passes this option
down.
Made the xend-relocation-server default to no, as this is a potential security
hole and so must be turned on explicitly.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/examples/xend-config.sxp')
-rw-r--r-- | tools/examples/xend-config.sxp | 68 |
1 files changed, 43 insertions, 25 deletions
diff --git a/tools/examples/xend-config.sxp b/tools/examples/xend-config.sxp index 881eaacfbc..ba433cd745 100644 --- a/tools/examples/xend-config.sxp +++ b/tools/examples/xend-config.sxp @@ -1,27 +1,52 @@ +# -*- sh -*- + +# # Xend configuration file. +# -# Port xend should use for the HTTP interface. -(xend-port 8000) +# This example configuration is appropriate for an installation that trusts +# only localhost connections, and is otherwise fully functional, with a +# bridged network configuration. -# Port xend should use for the event interface. -(xend-event-port 8001) +# Commented out entries show the default for that entry, unless otherwise +# specified. -# Address xend should listen on for HTTP connections. -# Specifying 'localhost' prevents remote connections. -# Specifying the empty string '' allows all connections. -(xend-address 'localhost') +#(logfile /var/log/xend.log) +#(loglevel DEBUG) + +#(xend-http-server no) +(xend-http-server yes) +#(xend-unix-server yes) +#(xend-relocation-server no) +(xend-relocation-server yes) + +#(xend-unix-path /var/lib/xend/xend-socket) + +# Port xend should use for the HTTP interface, if xend-http-server is set. +#(xend-port 8000) + +# Port xend should use for the event interface. This interface is deprecated. +#(xend-event-port 8001) -# The port xend should start from when allocating a port -# for a domain console. -(console-port-base 9600) +# Port xend should use for the relocation interface, if xend-relocation-server +# is set. +#(xend-relocation-port 8002) -# Address xend should listen on for console connections. +# Address xend should listen on for HTTP connections, if xend-http-server is +# set. # Specifying 'localhost' prevents remote connections. -# Specifying the empty string '' allows all connections. -(console-address 'localhost') +# Specifying the empty string '' (the default) allows all connections. +#(xend-address '') +(xend-address localhost) + +# Address xend should listen on for relocation-socket connections, if +# xend-relocation-server is set. +# Meaning and default as for xend-address above. +#(xend-relocation-address '') +(xend-relocation-address localhost) # The limit (in kilobytes) on the size of the console buffer -(console-limit 1024) +#(console-limit 1024) ## Use the following if VIF traffic is routed. # The script used to start/stop networking for xend. @@ -37,16 +62,6 @@ # The default script used to control virtual interfaces. (vif-script vif-bridge) -# Whether iptables should be set up to prevent IP spoofing for -# virtual interfaces. Specify 'yes' or 'no'. -(vif-antispoof no) - -# Setup script for file-backed block devices -(block-file block-file) - -# Setup script for enbd-backed block devices -(block-enbd block-enbd) - # Dom0 will balloon out when needed to free memory for domU. # dom0-min-mem is the lowest memory level (in MB) dom0 will get down to. # If dom0-min-mem=0, dom0 will never balloon out. @@ -55,3 +70,6 @@ # In SMP system, dom0 will use dom0-cpus # of CPUS # If dom0-cpus = 0, dom0 will take all cpus available (dom0-cpus 0) + +# Whether to enable core-dumps when domains crash. +#(enable-dump no) |