aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples/xend-config.sxp
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-04-07 15:01:26 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-04-07 15:01:26 +0100
commit54cdc383f128d5682852d1d55e091445a433810c (patch)
tree4799c0fe11cfd374e6a8b61cf284e71569c61371 /tools/examples/xend-config.sxp
parent01d02daa5f6b48fab3aebc285c42c004cbb8784e (diff)
downloadxen-54cdc383f128d5682852d1d55e091445a433810c.tar.gz
xen-54cdc383f128d5682852d1d55e091445a433810c.tar.bz2
xen-54cdc383f128d5682852d1d55e091445a433810c.zip
Split the meaning of "dom0-min-mem = 0" to a new option.
I have written a patch to split the current meaning of "dom0-min-mem = 0" to a new option "enable-dom0-ballooning". Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools/examples/xend-config.sxp')
-rw-r--r--tools/examples/xend-config.sxp11
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/examples/xend-config.sxp b/tools/examples/xend-config.sxp
index 22c0b24a25..f3ee4f3a15 100644
--- a/tools/examples/xend-config.sxp
+++ b/tools/examples/xend-config.sxp
@@ -165,12 +165,15 @@
#(network-script network-nat)
#(vif-script vif-nat)
-
-# 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.
+# dom0-min-mem is the lowest permissible memory level (in MB) for dom0.
+# This is a minimum both for auto-ballooning (as enabled by
+# enable-dom0-ballooning below) and for xm mem-set when applied to dom0.
(dom0-min-mem 196)
+# Whether to enable auto-ballooning of dom0 to allow domUs to be created.
+# If enable-dom0-ballooning = no, dom0 will never balloon out.
+(enable-dom0-ballooning yes)
+
# In SMP system, dom0 will use dom0-cpus # of CPUS
# If dom0-cpus = 0, dom0 will take all cpus available
(dom0-cpus 0)