From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgHVv-0007av-OA for qemu-devel@nongnu.org; Sun, 08 Mar 2009 07:49:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgHVr-0007aN-Jg for qemu-devel@nongnu.org; Sun, 08 Mar 2009 07:49:51 -0400 Received: from [199.232.76.173] (port=48075 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgHVr-0007aK-C4 for qemu-devel@nongnu.org; Sun, 08 Mar 2009 07:49:47 -0400 Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]:42203) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LgHVq-00013h-3v for qemu-devel@nongnu.org; Sun, 08 Mar 2009 07:49:47 -0400 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090308114943.YJVK4080.mtaout02-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Sun, 8 Mar 2009 11:49:43 +0000 Received: from miranda.arrow ([213.107.21.171]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090308114943.MUIC2093.aamtaout03-winn.ispmail.ntl.com@miranda.arrow> for ; Sun, 8 Mar 2009 11:49:43 +0000 Received: from sdb by miranda.arrow with local (Exim 4.63) (envelope-from ) id 1LgHVl-0003II-LF for qemu-devel@nongnu.org; Sun, 08 Mar 2009 11:49:41 +0000 Date: Sun, 8 Mar 2009 11:49:41 +0000 From: Stuart Brady Subject: Re: [Qemu-devel] [PATCH][RFC] Handling ':' on filenames Message-ID: <20090308114941.GA12649@miranda.arrow> References: <20090306212830.GL5077@blackpad> <49B3ABDF.2080803@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49B3ABDF.2080803@redhat.com> 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 On Sun, Mar 08, 2009 at 01:28:31PM +0200, Uri Lublin wrote: > b. We do not want to use "qcow2:/tmp/a:b" as filenames (been there). > We want to use -drive file=/tmp/a:b,format=qcow2 (and > similar "qemu-img info -f "). I can't help but feel that any approach to extracting filenames from the middle of arguments will always have problems. I suppose a syntax like this: -drive file=/tmp/file,with,commas:and:colons ,format=qcow2 (i.e. with the next parameter to -drive starting in a new argument)... wouldn't win many supporters though? Cheers, -- Stuart Brady