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:41:09 -0500 Message-ID: <4A5DF895.3030303@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> <4A5DF252.50408@us.ibm.com> <4A5DF709.8000404@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Blue Swirl , linuxram@us.ibm.com, qemu-devel@nongnu.org, Jan Kiszka , kvm-devel , Paul Brook To: Kevin Wolf Return-path: Received: from e8.ny.us.ibm.com ([32.97.182.138]:41789 "EHLO e8.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755198AbZGOPls (ORCPT ); Wed, 15 Jul 2009 11:41:48 -0400 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e8.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n6FFffqF015100 for ; Wed, 15 Jul 2009 11:41:41 -0400 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n6FFfWlE2355346 for ; Wed, 15 Jul 2009 11:41:32 -0400 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n6FFfMFD029118 for ; Wed, 15 Jul 2009 09:41:23 -0600 In-Reply-To: <4A5DF709.8000404@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Kevin Wolf wrote: > Anthony Liguori schrieb: > >> 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 >> > > So the names would need to be out of some reserved namespace like hdX, > sdX and vdX only? Or can I choose freely and call my disks "net" and > "vnc" and have them conflict with the respective existing options? > Yup, bad suggestion on my part. See my next suggestion. > Also, when discussing the syntax, don't forget that there also is > -usbdevice disk: which would need to be changed in some way, too. > > Kevin > -- Regards, Anthony Liguori