aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2010-09-22 17:42:01 +0100
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2010-09-22 17:42:01 +0100
commit73c54d46b12f2f3fe00d1ea5327baab5173a5201 (patch)
tree248c27ac1e264751cbf5eb3fe7be441a1292fcf4 /tools/examples
parent98256664456f6d824fd0c3c8ed69eeca267e5ba8 (diff)
downloadxen-73c54d46b12f2f3fe00d1ea5327baab5173a5201.tar.gz
xen-73c54d46b12f2f3fe00d1ea5327baab5173a5201.tar.bz2
xen-73c54d46b12f2f3fe00d1ea5327baab5173a5201.zip
xl: add a global configuration file
Add a global configuration file: /etc/xen/xl.conf; the only option currently parsed is autoballoon that is 1 by default. [fixed up for conflicts with libxl__ naming policy changes -iwj] Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/examples')
-rw-r--r--tools/examples/Makefile1
-rw-r--r--tools/examples/xl.conf5
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/examples/Makefile b/tools/examples/Makefile
index a911fff057..ba54a1b8c7 100644
--- a/tools/examples/Makefile
+++ b/tools/examples/Makefile
@@ -21,6 +21,7 @@ XEN_CONFIGS += xmexample.nbd
XEN_CONFIGS += xmexample.vti
XEN_CONFIGS += xend-pci-quirks.sxp
XEN_CONFIGS += xend-pci-permissive.sxp
+XEN_CONFIGS += xl.conf
.PHONY: all
all:
diff --git a/tools/examples/xl.conf b/tools/examples/xl.conf
new file mode 100644
index 0000000000..946c1a1d89
--- /dev/null
+++ b/tools/examples/xl.conf
@@ -0,0 +1,5 @@
+## Global XL config file ##
+
+# automatically balloon down dom0 when xen doesn't have enough free
+# memory to create a domain
+autoballon=1