From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=39000 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOXIp-0001ZM-Qm for qemu-devel@nongnu.org; Tue, 15 Jun 2010 10:39:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOXIo-0004MX-5V for qemu-devel@nongnu.org; Tue, 15 Jun 2010 10:39:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2164) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOXIn-0004MQ-V7 for qemu-devel@nongnu.org; Tue, 15 Jun 2010 10:39:46 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5FEdjiv003179 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 15 Jun 2010 10:39:45 -0400 Message-ID: <4C1790AC.20706@redhat.com> Date: Tue, 15 Jun 2010 16:39:40 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <4C1783CC.7070307@redhat.com> In-Reply-To: <4C1783CC.7070307@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: RFC v2: blockdev_add & friends, brief rationale, QMP docs List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Kevin Wolf , Christoph Hellwig , qemu-devel@nongnu.org, Markus Armbruster , Luiz Capitulino On 06/15/10 15:44, Avi Kivity wrote: > On 06/10/2010 08:45 PM, Markus Armbruster wrote: >> >> >> * Our config file format is in INI syntax. QemuOpts correspond to >> INI sections. Sections can't be nested, so recursive QemuOpts >> don't translate. > > git (and probably others) use > > [a "b"] > c = d > > for > > a.b.c=d 'b' is the id in qemu, i.e. -device driver=foo,id=bar,arg=value translates to [device "bar"] driver = "foo" arg = "value" in qemu. Oh, and there is -set device.bar.arg2=value2 btw ... cheers, Gerd