From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [Qemu-devel] Re: [PATCH] Add support for a configuration file Date: Wed, 14 May 2008 17:41:32 +0300 Message-ID: <482AFA1C.3030800@qumranet.com> References: <1210713545-11916-1-git-send-email-aliguori@us.ibm.com> <482A1F1C.2020902@codemonkey.ws> <20080513232021.GA8844@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, Paul Brook To: "Daniel P. Berrange" , qemu-devel@nongnu.org Return-path: In-Reply-To: <20080513232021.GA8844@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Daniel P. Berrange wrote: > That's very nearly YAML format[1], which is attractive because parsers > are available in every major programming language, and it is still > pretty human friendly. > > So my preference would be to go with the last option and make sure > it really is YAML compliant so people can use standard tools for > generating and parsing the format. > Using a standard format has the added benefit that things like quoting are taken care of. Filenames with leading and trailing spaces, anyone? Embedded control characters? -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwIAk-0007tG-Mj for qemu-devel@nongnu.org; Wed, 14 May 2008 10:41:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwIAi-0007sH-Ib for qemu-devel@nongnu.org; Wed, 14 May 2008 10:41:37 -0400 Received: from [199.232.76.173] (port=60938 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwIAi-0007sC-Dc for qemu-devel@nongnu.org; Wed, 14 May 2008 10:41:36 -0400 Received: from bzq-179-150-194.static.bezeqint.net ([212.179.150.194]:34468 helo=il.qumranet.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwIAh-0004XY-RT for qemu-devel@nongnu.org; Wed, 14 May 2008 10:41:36 -0400 Message-ID: <482AFA1C.3030800@qumranet.com> Date: Wed, 14 May 2008 17:41:32 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [kvm-devel] [PATCH] Add support for a configuration file References: <1210713545-11916-1-git-send-email-aliguori@us.ibm.com> <482A1F1C.2020902@codemonkey.ws> <20080513232021.GA8844@redhat.com> In-Reply-To: <20080513232021.GA8844@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org Cc: kvm-devel@lists.sourceforge.net, Anthony Liguori , Paul Brook Daniel P. Berrange wrote: > That's very nearly YAML format[1], which is attractive because parsers > are available in every major programming language, and it is still > pretty human friendly. > > So my preference would be to go with the last option and make sure > it really is YAML compliant so people can use standard tools for > generating and parsing the format. > Using a standard format has the added benefit that things like quoting are taken care of. Filenames with leading and trailing spaces, anyone? Embedded control characters? -- error compiling committee.c: too many arguments to function