diff options
author | David Vrabel <david.vrabel@citrix.com> | 2013-04-04 17:21:12 +0000 |
---|---|---|
committer | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2013-04-08 17:04:52 +0100 |
commit | 48f4af18b3e1e36bf0eda793455ecaea9a316c65 (patch) | |
tree | 556900b9852da7b71432178ef968b81b65c0d660 /tools/examples/xl.conf | |
parent | b4932b39319229291ff019ba23cab465988e02d8 (diff) | |
download | xen-48f4af18b3e1e36bf0eda793455ecaea9a316c65.tar.gz xen-48f4af18b3e1e36bf0eda793455ecaea9a316c65.tar.bz2 xen-48f4af18b3e1e36bf0eda793455ecaea9a316c65.zip |
xl: extend autoballoon xl.conf option with an "auto" option
autoballoon=1 is not recommened if dom0_mem was used to reduce the
amount of dom0 memory. Instead of requiring users to change xl.conf
if they do this, extend the autoballoon option with a new choice:
"auto".
With autoballoon="auto", autoballooning will be disabled if dom0_mem
was used on the Xen command line.
For consistency, accept "on" and "off" as valid autoballoon options (1
and 0 are still accepted).
The default remains "on" for now.
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/examples/xl.conf')
-rw-r--r-- | tools/examples/xl.conf | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/examples/xl.conf b/tools/examples/xl.conf index b0caa3295b..50cba2bf37 100644 --- a/tools/examples/xl.conf +++ b/tools/examples/xl.conf @@ -1,8 +1,9 @@ ## Global XL config file ## -# automatically balloon down dom0 when xen doesn't have enough free -# memory to create a domain -#autoballoon=1 +# Control whether dom0 is ballooned down when xen doesn't have enough +# free memory to create a domain. "auto" means only balloon if dom0 +# starts with all the host's memory. +#autoballoon="auto" # full path of the lockfile used by xl during domain creation #lockfile="/var/lock/xl" |