diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-03-06 11:52:48 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-03-22 17:51:31 +0100 |
commit | 787e4a8500020695eb391e2f1cc4767ee071d441 (patch) | |
tree | 1dec822d44c48a551095b3d9242281e9c38d92bb /block/blkdebug.c | |
parent | 92b7a08d64e5e3129fa885f9d180e5bddcb76b42 (diff) | |
download | qemu-787e4a8500020695eb391e2f1cc4767ee071d441.zip qemu-787e4a8500020695eb391e2f1cc4767ee071d441.tar.gz qemu-787e4a8500020695eb391e2f1cc4767ee071d441.tar.bz2 |
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>
Diffstat (limited to 'block/blkdebug.c')
-rw-r--r-- | block/blkdebug.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/block/blkdebug.c b/block/blkdebug.c index 6f74637..37cfbc7 100644 --- a/block/blkdebug.c +++ b/block/blkdebug.c @@ -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; } |