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


Reply via email to