From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Bellard Subject: Re: [Qemu-devel] Re: [PATCH] Add support for a configuration file Date: Wed, 14 May 2008 10:27:20 +0200 Message-ID: <482AA268.9080501@bellard.org> References: <1210713545-11916-1-git-send-email-aliguori@us.ibm.com> <482A1F1C.2020902@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, Paul Brook To: qemu-devel@nongnu.org Return-path: In-Reply-To: <482A1F1C.2020902@codemonkey.ws> 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 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. ------------------------------------------------------------------------- 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/