From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwCKe-0008Mx-KO for qemu-devel@nongnu.org; Wed, 14 May 2008 04:27:28 -0400 Received: from [199.232.76.173] (port=37547 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwCKd-0008Mg-Jl for qemu-devel@nongnu.org; Wed, 14 May 2008 04:27:27 -0400 Received: from mx1.polytechnique.org ([129.104.30.34]:48105) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JwCKd-0001sh-0b for qemu-devel@nongnu.org; Wed, 14 May 2008 04:27:27 -0400 Message-ID: <482AA268.9080501@bellard.org> Date: Wed, 14 May 2008 10:27:20 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH] Add support for a configuration file References: <1210713545-11916-1-git-send-email-aliguori@us.ibm.com> <482A1F1C.2020902@codemonkey.ws> In-Reply-To: <482A1F1C.2020902@codemonkey.ws> 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: qemu-devel@nongnu.org Cc: kvm-devel@lists.sourceforge.net, Anthony Liguori , Paul Brook Anthony Liguori wrote: > One thought I had, is that it would be very nice to break up the -drive > file=foo.img,if=scsi syntax within the config file. In general, I'm > thinking something like: > > [drive] > file=foo.img > if=scsi > > or: > > drive { > file=foo.img > if=scsi > } > > or even: > > drive: > file=foo.img > if=scsi > > Basically, I'm looking for a syntax for sub-options. This would be > useful for -drive or -net but I also think would lay the foundations for > specifying a full machine config. > > It would get very unwieldy on the command line to have a large number of > suboptions but it works reasonably well within a config. I prefer: drive.file=foo.img drive.if=scsi Regards, Fabrice.