]> git.proxmox.com Git - qemu.git/commit - block/sheepdog.c
block: Don't parse protocol from file.filename
authorKevin Wolf <kwolf@redhat.com>
Wed, 10 Jul 2013 13:47:39 +0000 (15:47 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 15 Jul 2013 07:49:00 +0000 (09:49 +0200)
commit98289620e0460fa595581020ab20127da4a2fc44
treec78493ac885f6c8e079ffd2a517de13807c5a7ef
parentde90930a0c45760e7523138fac57ff07312bf51d
block: Don't parse protocol from file.filename

One of the major reasons for doing something new for -blockdev and
blockdev-add was that the old block layer code parses filenames instead
of just taking them literally. So we should really leave it untouched
when it's passing using the new interfaces (like -drive
file.filename=...).

This allows opening relative file names that contain a colon.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block.c
block/sheepdog.c
include/block/block.h
qemu-img.c
tests/qemu-iotests/051
tests/qemu-iotests/051.out