From 48f4af18b3e1e36bf0eda793455ecaea9a316c65 Mon Sep 17 00:00:00 2001 From: David Vrabel Date: Thu, 4 Apr 2013 17:21:12 +0000 Subject: 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 Acked-by: Ian Jackson --- tools/examples/xl.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tools/examples') 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" -- cgit v1.2.3