Received: from eggs.gnu.org ([2001:4830:134:3::10]:42924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLXsF-0001ok-Dt for qemu-devel@nongnu.org; Thu, 06 Mar 2014 07:58:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLXs9-0007g6-Bv for qemu-devel@nongnu.org; Thu, 06 Mar 2014 07:58:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:25718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLXs9-0007fp-4I for qemu-devel@nongnu.org; Thu, 06 Mar 2014 07:58:01 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s26Cvv4q031572 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 6 Mar 2014 07:57:58 -0500 Date: Thu, 6 Mar 2014 13:57:55 +0100 From: Kevin Wolf Message-ID: <20140306125755.GE2663@dhcp-200-207.str.redhat.com> References: <1394055700-5988-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1394055700-5988-1-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/5] block/raw: Strip "file:" prefix from filenames List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-devel@nongnu.org, Stefan Hajnoczi Am 05.03.2014 um 22:41 hat Max Reitz geschrieben: > The "file" protocol drivers (block/raw-posix and block/raw-win32) may be > explicitly selected by prepending a "file:" prefix to a filename (as > with all other block protocols). However, currently, they do not strip > this prefix as they should. > > This series fixes this issue. Thanks, applied to the block branch. This is just for consistency and there is no real use case for this, right? If so, it would be even more consistent to do the same for the host_* drivers provided by block/raw-{posix,win32}.c I talked about this multiple times in discussions about handling colons in filenames, so that prefixing file: would make it unambigious that the colon is part of the file name and not a protocol name, but these days I think we already have enough other ways to express this (the easiest being ./test:foo, because protocols can't contain slashes) Kevin