blkdebug: Don't require sophisticated filename
commitd4881b9bcbbadc83ffa5d8e6d2d6deb36cd8faa6
authorMax Reitz <mreitz@redhat.com>
Fri, 20 Dec 2013 18:28:02 +0000 (20 19:28 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 22 Jan 2014 11:07:17 +0000 (22 12:07 +0100)
tree73a27ef9b1d941e1351dfc5ef7c67fccc2f4d5c1
parent466b49f276310952ad64485d8b9fa87a5c8a9451
blkdebug: Don't require sophisticated filename

If the filename is not prefixed by "blkdebug:" in
blkdebug_parse_filename(), the blkdebug driver was not selected through
that protocol prefix, but by an explicit command line option
(file.driver=blkdebug or something similar). Contrary to the current
reaction, this is not a problem at all; we just need to store the
filename (in the x-image option) and can go on; the user just has to
manually specify the config option.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/blkdebug.c