Re: [Qemu-devel] [PATCH] block: handle filenames with colons better

2012-08-17 Thread Iustin Pop
On Fri, Aug 17, 2012 at 12:15:41PM +0200, Kevin Wolf wrote: > Am 17.08.2012 12:05, schrieb Iustin Pop: > > On Fri, Aug 17, 2012 at 09:56:35AM +0200, Kevin Wolf wrote: > >> Am 17.08.2012 09:15, schrieb Iustin Pop: > >>> On Thu, Aug 16, 2012 at 11:24:11PM +0400, Mi

Re: [Qemu-devel] [PATCH] block: handle filenames with colons better

2012-08-17 Thread Iustin Pop
On Fri, Aug 17, 2012 at 09:56:35AM +0200, Kevin Wolf wrote: > Am 17.08.2012 09:15, schrieb Iustin Pop: > > On Thu, Aug 16, 2012 at 11:24:11PM +0400, Michael Tokarev wrote: > >> On 16.08.2012 18:58, Iustin Pop wrote: > >>> Commit 947995c (block: protect path_ha

Re: [Qemu-devel] [PATCH] block: handle filenames with colons better

2012-08-17 Thread Iustin Pop
On Thu, Aug 16, 2012 at 11:24:11PM +0400, Michael Tokarev wrote: > On 16.08.2012 18:58, Iustin Pop wrote: > > Commit 947995c (block: protect path_has_protocol from filenames with > > colons) introduced a way to handle filenames with colons based on > > whether the path co

[Qemu-devel] [PATCH] block: handle filenames with colons better

2012-08-16 Thread Iustin Pop
xists as a file or not. As such, this patch tries to handle both files with and without slashes by falling back to opening them as files if no drivers supporting the protocol has been identified. Signed-off-by: Iustin Pop --- I've tested this with both slash-containing and slash-free na