From: Ian Jackson Subject: Re: [PATCH] xl: extend autoballoon xl.conf option with an "auto" option Date: Thu, 4 Apr 2013 14:30:26 +0100 Message-ID: <20829.32882.19628.117398@mariner.uk.xensource.com> References: <1365077117-31184-1-git-send-email-david.vrabel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1365077117-31184-1-git-send-email-david.vrabel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel Cc: Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org David Vrabel writes ("[PATCH] 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". I really like the principle of this patch. But: > + > +Default: C<"on"> I would like to see another patch changing the default. > + if (strstr(info->commandline, "dom0_mem")) > + return 0; Sadly your command line parsing needs to be more sophisticated than this. Consider: xen blah vmlinuz blah initrd.gz blah init=/etc/init.try-without-dom0_mem Ian.