qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/5] block/raw: Strip "file:" prefix from filena


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH 0/5] block/raw: Strip "file:" prefix from filenames
Date: Thu, 6 Mar 2014 13:57:55 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]