From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH] rev4: support colon in filenames Date: Fri, 10 Jul 2009 08:31:04 -0500 Message-ID: <4A574298.3010901@us.ibm.com> References: <1245862739.6278.7.camel@localhost> <1245866233.6278.17.camel@localhost> <4A434009.5010009@redhat.com> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, kvm-devel , Jan Kiszka , Kevin Wolf To: linuxram@us.ibm.com Return-path: Received: from e1.ny.us.ibm.com ([32.97.182.141]:44649 "EHLO e1.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751181AbZGJNcr (ORCPT ); Fri, 10 Jul 2009 09:32:47 -0400 Received: from d01relay07.pok.ibm.com (d01relay07.pok.ibm.com [9.56.227.147]) by e1.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n6ADRou1010318 for ; Fri, 10 Jul 2009 09:27:50 -0400 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d01relay07.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n6ADVMhT917586 for ; Fri, 10 Jul 2009 09:31:22 -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 n6ADV98o028009 for ; Fri, 10 Jul 2009 07:31:21 -0600 In-Reply-To: <1247041831.6297.12.camel@localhost> Sender: kvm-owner@vger.kernel.org List-ID: Ram Pai wrote: > Problem: It is impossible to feed filenames with the character colon because > qemu interprets such names as a protocol. For example filename scsi:0, is > interpreted as a protocol by name "scsi". > > This patch allows user to espace colon characters. For example the above > filename can now be expressed either as 'scsi\:0' or as file:scsi:0 > > anything following the "file:" tag is interpreted verbatin. However if "file:" > tag is omitted then any colon characters in the string must be escaped using > backslash. > > Here are couple of examples: > This needs rebasing and I'd like to see a few folks ack it first too. -- Regards, Anthony Liguori