]> git.proxmox.com Git - mirror_qemu.git/commit
block/raw-win32: Strip "file:" prefix on creation
authorMax Reitz <mreitz@redhat.com>
Wed, 5 Mar 2014 21:41:40 +0000 (22:41 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 6 Mar 2014 15:18:12 +0000 (16:18 +0100)
commitd5546c5e776ac8f6277ddfdd59df9888e7919c2f
tree366aa5450a6ec4918d46ff9cc56b31ec88a348ca
parent7dc74db88b1eb3cff12174d0448ecfb6cd0e2469
block/raw-win32: Strip "file:" prefix on creation

The bdrv_create() implementation of the block/raw-win32 "file" protocol
driver should strip the "file:" prefix from filenames if present.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/raw-win32.c