From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwchX-00082Y-Pe for qemu-devel@nongnu.org; Thu, 15 May 2008 08:36:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwchS-0007ue-Fg for qemu-devel@nongnu.org; Thu, 15 May 2008 08:36:50 -0400 Received: from [199.232.76.173] (port=36318 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwchS-0007uI-2m for qemu-devel@nongnu.org; Thu, 15 May 2008 08:36:46 -0400 Received: from ug-out-1314.google.com ([66.249.92.175]:14675) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwchR-0004L4-BP for qemu-devel@nongnu.org; Thu, 15 May 2008 08:36:45 -0400 Received: by ug-out-1314.google.com with SMTP id j40so1412112ugd.4 for ; Thu, 15 May 2008 05:36:44 -0700 (PDT) Message-ID: Date: Thu, 15 May 2008 14:36:43 +0200 From: "andrzej zaborowski" Subject: Re: [Qemu-devel] [PATCH] Add support for a configuration file In-Reply-To: <20080515220340.10e3fa92.mle+tools@mega-nerd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1210713545-11916-1-git-send-email-aliguori@us.ibm.com> <20080515220340.10e3fa92.mle+tools@mega-nerd.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 15/05/2008, Erik de Castro Lopo wrote: > One thing I'd like to see is the ability to include one config file > inside another. That's a good idea, I suggested preprocessing with a cpp (-like) tool with this in mind. This lets you kindof "make your own" syntax for the config file, redefine instead of search&replace, and allows a lib like libvirt to have its standard "base" config / "template" config that would be included by the generated files and used. -- Please do not print this email unless absolutely necessary. Spread environmental awareness.