Received: from eggs.gnu.org ([2001:4830:134:3::10]:39297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLJZW-0004Uu-Hw for qemu-devel@nongnu.org; Wed, 05 Mar 2014 16:42:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLJZQ-0002al-KR for qemu-devel@nongnu.org; Wed, 05 Mar 2014 16:41:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLJZQ-0002aE-Bd for qemu-devel@nongnu.org; Wed, 05 Mar 2014 16:41:44 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s25Lfh7k018503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 5 Mar 2014 16:41:43 -0500 From: Max Reitz Date: Wed, 5 Mar 2014 22:41:35 +0100 Message-Id: <1394055700-5988-1-git-send-email-mreitz@redhat.com> Subject: [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: qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi , Max Reitz 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. Max Reitz (5): block: Keep "filename" option after parsing block/raw-posix: Implement bdrv_parse_filename() block/raw-posix: Strip "file:" prefix on creation block/raw-win32: Implement bdrv_parse_filename() block/raw-win32: Strip "file:" prefix on creation block.c | 7 ++++++- block/raw-posix.c | 14 ++++++++++++++ block/raw-win32.c | 14 ++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) -- 1.9.0