In xl.conf, autoballoon="auto" will do the right thing for most
people. Make it the default (instead of "on").
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
you use the C<dom0_mem> hypervisor command line to reduce the amount
of memory given to domain 0 by default.
-Default: C<"on">
+Default: C<"auto">
=item B<run_hotplug_scripts=BOOLEAN>
xentoollog_logger_stdiostream *logger;
int dryrun_only;
int force_execution;
-int autoballoon = 1;
+int autoballoon = -1;
char *blkdev_start;
int run_hotplug_scripts = 1;
char *lockfile;
else if (!strcmp(buf, "off") || !strcmp(buf, "0"))
autoballoon = 0;
else if (!strcmp(buf, "auto"))
- autoballoon = auto_autoballoon();
+ autoballoon = -1;
else
fprintf(stderr, "invalid autoballoon option");
}
+ if (autoballoon == -1)
+ autoballoon = auto_autoballoon();
if (!xlu_cfg_get_long (config, "run_hotplug_scripts", &l, 0))
run_hotplug_scripts = l;