This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH 6 of 8] xl: add a global configuration file

To: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 6 of 8] xl: add a global configuration file
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Mon, 30 Aug 2010 10:48:17 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Mon, 30 Aug 2010 02:48:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C782E89.5070902@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <alpine.DEB.2.00.1008271216490.2545@kaball-desktop> <4C782E89.5070902@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
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.

Xen-devel mailing list