Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EuDei-0001Lv-Sb for qemu-devel@nongnu.org; Wed, 04 Jan 2006 13:46:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EuDef-0001KP-2K for qemu-devel@nongnu.org; Wed, 04 Jan 2006 13:46:40 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuDee-0001KI-Pl for qemu-devel@nongnu.org; Wed, 04 Jan 2006 13:46:36 -0500 Received: from [195.129.94.187] (helo=srv94-187.ip-tech.ch) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EuDg6-00033o-0I for qemu-devel@nongnu.org; Wed, 04 Jan 2006 13:48:06 -0500 Mime-Version: 1.0 (Apple Message framework v748) In-Reply-To: <43BB6224.9020507@vision.ee> References: <200512312120.43014.bepi@adria.it> <200601032249.41640.bepi@adria.it> <43BB6224.9020507@vision.ee> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Mike Kronenberg Subject: Re: [Qemu-devel] qemu and configuration file? Date: Wed, 4 Jan 2006 19:44:44 +0100 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 I made a proposal some month ago based on xml: http://lists.gnu.org/archive/html/qemu-devel/2005-08/msg00034.html I use this style of xml property lists for the configuration of the vm of Q (slightly alter by now). Q is a OS X port of QEMU http://www.kberg.ch/q I ran recently into some troubles with arguments that can appear multiple times, like -net and -redir. I'm now about to changes my configuration files. Having a well defined style of configuration files would help making simple guest packages, that could be used on multiple systems... Mike On 04.01.2006, at 06:50, martin wrote: > If we'd go for a config file at all with such a complicated > structure, i see no reasons why to choose anything else than xml > for it. We have tons of xml libs that can be used for gui's (think > perl, tk, python etc...). Certainly better every dude writing it's > own XuPeRpArSeR that will be broken and compatible after a major > change in qemu ... > Another choice would be the pure rc (just 'item = value' lines) > without any supersmart blocks. > > xml style or rc style, please no hack in betweeen :) > > martin >