aboutsummaryrefslogtreecommitdiff
path: root/block/blkverify.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-03-06 11:52:48 +0100
committerKevin Wolf <kwolf@redhat.com>2013-03-22 17:51:31 +0100
commit787e4a8500020695eb391e2f1cc4767ee071d441 (patch)
tree1dec822d44c48a551095b3d9242281e9c38d92bb /block/blkverify.c
parent92b7a08d64e5e3129fa885f9d180e5bddcb76b42 (diff)
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/blkverify.c')
-rw-r--r--block/blkverify.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/block/blkverify.c b/block/blkverify.c
index 2086d97234..59e3b0562b 100644
--- a/block/blkverify.c
+++ b/block/blkverify.c
@@ -69,7 +69,8 @@ static void GCC_FMT_ATTR(2, 3) blkverify_err(BlkverifyAIOCB *acb,
}
/* Valid blkverify filenames look like blkverify:path/to/raw_image:path/to/image */
-static int blkverify_open(BlockDriverState *bs, const char *filename, int flags)
+static int blkverify_open(BlockDriverState *bs, const char *filename,
+ QDict *options, int flags)
{
BDRVBlkverifyState *s = bs->opaque;
int ret;
@@ -89,7 +90,7 @@ static int blkverify_open(BlockDriverState *bs, const char *filename, int flags)
raw = g_strdup(filename);
raw[c - filename] = '\0';
- ret = bdrv_file_open(&bs->file, raw, flags);
+ ret = bdrv_file_open(&bs->file, raw, NULL, flags);
g_free(raw);
if (ret < 0) {
return ret;