From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MR6Bs-0000nO-6U for qemu-devel@nongnu.org; Wed, 15 Jul 2009 11:14:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MR6Bn-0000ku-FC for qemu-devel@nongnu.org; Wed, 15 Jul 2009 11:14:39 -0400 Received: from [199.232.76.173] (port=54806 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MR6Bn-0000ko-Av for qemu-devel@nongnu.org; Wed, 15 Jul 2009 11:14:35 -0400 Received: from e6.ny.us.ibm.com ([32.97.182.146]:56271) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MR6Bn-0004E2-0E for qemu-devel@nongnu.org; Wed, 15 Jul 2009 11:14:35 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e6.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n6FFHqmb030649 for ; Wed, 15 Jul 2009 11:17:52 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n6FFES0c257150 for ; Wed, 15 Jul 2009 11:14:28 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n6FFESM2002777 for ; Wed, 15 Jul 2009 11:14:28 -0400 Message-ID: <4A5DF252.50408@us.ibm.com> Date: Wed, 15 Jul 2009 10:14:26 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] rev5: support colon in filenames References: <1245862739.6278.7.camel@localhost> <1245998284.6278.99.camel@localhost> <4A447C8D.5000104@kevin-wolf.de> <1246063310.6278.115.camel@localhost> <1246511321.6429.31.camel@localhost> <4A4C754D.10109@redhat.com> <4A4CAD86.9020607@us.ibm.com> <4A4CB39F.5070506@redhat.com> <1247041831.6297.12.camel@localhost> <1247644283.14246.3.camel@localhost> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: Kevin Wolf , kvm-devel , linuxram@us.ibm.com, qemu-devel@nongnu.org, Jan Kiszka , Paul Brook Blue Swirl wrote: > I bet this won't compile on win32. > > Instead of this (IMHO doomed) escape approach, maybe the filename > parameter could be specified as the next argument, for example: > -hda format=qcow2,blah,blah,filename_is_next_arg -hda "filename with > funky characters like ',' ':' & '!'" > -drive name=hda,if=ide,cache=off -hda foo.img -drive name=vda,if=virtio,cache=writeback -vda foo.img -drive name=sdb,if=scsi,unit=1 -sdb boo.img But Paul has long objected to having -vda or -sda syntaxes. I do agree though that the most sane thing to do is to make the filename an independent argument. -- Regards, Anthony Liguori