block: Add options QDict to bdrv_file_open() prototypes

The new parameter is unused yet.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Kevin Wolf 2013-03-06 11:52:48 +01:00
parent 92b7a08d64
commit 787e4a8500
18 changed files with 51 additions and 29 deletions

View file

@ -304,7 +304,8 @@ fail:
}
/* Valid blkdebug filenames look like blkdebug:path/to/config:path/to/image */
static int blkdebug_open(BlockDriverState *bs, const char *filename, int flags)
static int blkdebug_open(BlockDriverState *bs, const char *filename,
QDict *options, int flags)
{
BDRVBlkdebugState *s = bs->opaque;
int ret;
@ -335,7 +336,7 @@ static int blkdebug_open(BlockDriverState *bs, const char *filename, int flags)
s->state = 1;
/* Open the backing file */
ret = bdrv_file_open(&bs->file, filename, flags);
ret = bdrv_file_open(&bs->file, filename, NULL, flags);
if (ret < 0) {
return ret;
}