Am 09.12.2010 12:53, schrieb Stefan Hajnoczi: > The bdrv_find_protocol() function returns NULL if an unknown protocol > name is given. It returns the "file" protocol when the filename > contains no protocol at all. This makes it difficult to distinguish > between paths which contain a protocol and those which do not. > > Factor out a helper function that tests whether or not a filename has a > protocol. The next patch makes use of this function. > > Signed-off-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com> > --- > Sorry for this oversight, Windows breakage fixed. > > v2: > * Define Windows drive functions before path_has_protocol()
Thanks, applied to the block branch. Kevin