From: Stefano Stabellini Subject: Re: [PATCH 6 of 8] xl: add a global configuration file Date: Mon, 30 Aug 2010 10:48:17 +0100 Message-ID: References: <4C782E89.5070902@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <4C782E89.5070902@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Zhigang Wang Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Fri, 27 Aug 2010, Zhigang Wang wrote: > I think we should not add configure files to xl. Instead, we may add a global > option to xl command line. > > I don't want to see xl going heavy. > I agree with you on not wanting to see xl becoming heavy, however there are few global configuration options that would be too burdensome for the user to specify every single time, in particular I am referring to the autoballoning operation. Unfortunately there is no simple way to detect if the user wants xl to autoballoon dom0 or not (we could parse the xen command line to see if dom0_mem has been added, but it is just too ugly), so we need a global config file, but apart from that I don't see many other options being added to that configuration file. Even if we take a look at the current xend config file, most of the configuration options specified there are not relevant to xl because they involve XML-RPC communication mechanisms. Apart from those there are few logging related options that might be useful, not much else.