From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] [PATCH] rev5: support colon in filenames Date: Wed, 15 Jul 2009 10:14:26 -0500 Message-ID: <4A5DF252.50408@us.ibm.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: linuxram@us.ibm.com, qemu-devel@nongnu.org, Kevin Wolf , Jan Kiszka , kvm-devel , Paul Brook To: Blue Swirl Return-path: Received: from e6.ny.us.ibm.com ([32.97.182.146]:56274 "EHLO e6.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755047AbZGOPOa (ORCPT ); Wed, 15 Jul 2009 11:14:30 -0400 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e6.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n6FFHqKV030659 for ; Wed, 15 Jul 2009 11:17:52 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n6FFETnr252168 for ; Wed, 15 Jul 2009 11:14:29 -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 n6FFESM8002777 for ; Wed, 15 Jul 2009 11:14:29 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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