Received: from eggs.gnu.org ([140.186.70.92]:46007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rqh7c-0001g7-Nq for qemu-devel@nongnu.org; Fri, 27 Jan 2012 03:25:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rqh7b-00077c-OI for qemu-devel@nongnu.org; Fri, 27 Jan 2012 03:25:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:24366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rqh7b-00077Y-He for qemu-devel@nongnu.org; Fri, 27 Jan 2012 03:25:23 -0500 From: Markus Armbruster References: <75020d27a76d9b884a9c40d8c6ec81b525ab96a9.1327302677.git.peter.crosthwaite@petalogix.com> <4F1E5C49.4030604@suse.de> <4F1EF705.30900@weilnetz.de> <4F21AAAC.1020209@freescale.com> <4F21C55F.6020802@redhat.com> Date: Fri, 27 Jan 2012 09:25:16 +0100 In-Reply-To: <4F21C55F.6020802@redhat.com> (Eric Blake's message of "Thu, 26 Jan 2012 14:27:59 -0700") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [RFC PATCH 5/7] vl.c: added -kerndtb option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Peter Maydell , monstr@monstr.eu, duyl@xilinx.com, Stefan Weil , qemu-devel@nongnu.org, "Peter A. G. Crosthwaite" , linnj@xilinx.com, edgar.iglesias@petalogix.com, Scott Wood , Andreas =?utf-8?Q?F=C3=A4rber?= , john.williams@petalogix.com Eric Blake writes: > On 01/26/2012 12:34 PM, Scott Wood wrote: >> On 01/24/2012 12:23 PM, Stefan Weil wrote: >>> I'd prefer a different solution. As far as I have understood, >>> the dtb is only useful with a kernel, so it could be handled >>> as an optional attribute to the -kernel parameter: >>> >>> -kernel IMAGE[,dtb=DTB] >>> >>> Of course the same applies to -append, but that's a different issue. >> >> -initrd as well. >> >> This would mean you couldn't have a comma in a filename (shouldn't come >> up often, but still ugly). > > In other instances where you use a comma to separate arguments and also > want to accept commas in arbitrary file names, qemu has used the notion > of a double comma as being the escape sequence for a single comma in the > intended file name, rather than a separator for later arguments. Use QemuOpts for NAME=VALUE,... arguments. Common code, common syntactic conventions.