ia64/xen-unstable

annotate tools/examples/xend-config.sxp @ 7467:cefe36be8592

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>
author emellor@leeni.uk.xensource.com
date Fri Oct 21 12:04:30 2005 +0100 (2005-10-21)
parents 18eb059ae471
children 4722eae11abb
rev   line source
emellor@7467 1 # -*- sh -*-
emellor@7467 2
emellor@7467 3 #
mjw@1723 4 # Xend configuration file.
emellor@7467 5 #
mjw@1723 6
emellor@7467 7 # This example configuration is appropriate for an installation that trusts
emellor@7467 8 # only localhost connections, and is otherwise fully functional, with a
emellor@7467 9 # bridged network configuration.
emellor@7467 10
emellor@7467 11 # Commented out entries show the default for that entry, unless otherwise
emellor@7467 12 # specified.
emellor@7467 13
emellor@7467 14 #(logfile /var/log/xend.log)
emellor@7467 15 #(loglevel DEBUG)
mjw@1723 16
emellor@7467 17 #(xend-http-server no)
emellor@7467 18 (xend-http-server yes)
emellor@7467 19 #(xend-unix-server yes)
emellor@7467 20 #(xend-relocation-server no)
emellor@7467 21 (xend-relocation-server yes)
emellor@7467 22
emellor@7467 23 #(xend-unix-path /var/lib/xend/xend-socket)
mjw@4095 24
emellor@7467 25 # Port xend should use for the HTTP interface, if xend-http-server is set.
emellor@7467 26 #(xend-port 8000)
emellor@7467 27
emellor@7467 28 # Port xend should use for the event interface. This interface is deprecated.
emellor@7467 29 #(xend-event-port 8001)
emellor@7467 30
emellor@7467 31 # Port xend should use for the relocation interface, if xend-relocation-server
emellor@7467 32 # is set.
emellor@7467 33 #(xend-relocation-port 8002)
emellor@7467 34
emellor@7467 35 # Address xend should listen on for HTTP connections, if xend-http-server is
emellor@7467 36 # set.
mjw@1723 37 # Specifying 'localhost' prevents remote connections.
emellor@7467 38 # Specifying the empty string '' (the default) allows all connections.
emellor@7467 39 #(xend-address '')
emellor@7467 40 (xend-address localhost)
mjw@1723 41
emellor@7467 42 # Address xend should listen on for relocation-socket connections, if
emellor@7467 43 # xend-relocation-server is set.
emellor@7467 44 # Meaning and default as for xend-address above.
emellor@7467 45 #(xend-relocation-address '')
emellor@7467 46 (xend-relocation-address localhost)
mjw@4095 47
emellor@7441 48 # The limit (in kilobytes) on the size of the console buffer
emellor@7467 49 #(console-limit 1024)
emellor@7441 50
kaf24@3431 51 ## Use the following if VIF traffic is routed.
kaf24@3431 52 # The script used to start/stop networking for xend.
kaf24@3431 53 #(network-script network-route)
kaf24@3431 54 # The default script used to control virtual interfaces.
kaf24@3431 55 #(vif-script vif-route)
kaf24@3431 56
kaf24@3431 57 ## Use the following if VIF traffic is bridged.
mjw@1723 58 # The script used to start/stop networking for xend.
iap10@6157 59 (network-script network-bridge)
mjw@1723 60 # The default bridge that virtual interfaces should be connected to.
emellor@7446 61 (vif-bridge xenbr0)
mjw@1723 62 # The default script used to control virtual interfaces.
mjw@1723 63 (vif-script vif-bridge)
mjw@1723 64
kaf24@5932 65 # Dom0 will balloon out when needed to free memory for domU.
kaf24@5932 66 # dom0-min-mem is the lowest memory level (in MB) dom0 will get down to.
kaf24@5932 67 # If dom0-min-mem=0, dom0 will never balloon out.
kaf24@5932 68 (dom0-min-mem 0)
kaf24@5932 69
cl349@6916 70 # In SMP system, dom0 will use dom0-cpus # of CPUS
kaf24@5932 71 # If dom0-cpus = 0, dom0 will take all cpus available
kaf24@5932 72 (dom0-cpus 0)
emellor@7467 73
emellor@7467 74 # Whether to enable core-dumps when domains crash.
emellor@7467 75 #(enable-dump no)