summaryrefslogtreecommitdiff
path: root/block/qed.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-03-15 10:35:01 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-03-15 16:07:49 +0100
commit1a86938f04b1abfd28e053b8c6f4b8ed9e4ffe08 (patch)
tree4dc2efb217e27fa8c2dfe6e032239aadc517fd0c /block/qed.c
parent4f306496183d81aed4b43762cf3bfd6e054de767 (diff)
downloadqemu-1a86938f04b1abfd28e053b8c6f4b8ed9e4ffe08.tar.gz
qemu-1a86938f04b1abfd28e053b8c6f4b8ed9e4ffe08.tar.bz2
qemu-1a86938f04b1abfd28e053b8c6f4b8ed9e4ffe08.zip
block: Add options QDict to .bdrv_open()
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/qed.c')
-rw-r--r--block/qed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/qed.c b/block/qed.c
index b8515e58b3..46e12b358b 100644
--- a/block/qed.c
+++ b/block/qed.c
@@ -373,7 +373,7 @@ static void bdrv_qed_rebind(BlockDriverState *bs)
s->bs = bs;
}
-static int bdrv_qed_open(BlockDriverState *bs, int flags)
+static int bdrv_qed_open(BlockDriverState *bs, QDict *options, int flags)
{
BDRVQEDState *s = bs->opaque;
QEDHeader le_header;
@@ -1526,7 +1526,7 @@ static void bdrv_qed_invalidate_cache(BlockDriverState *bs)
bdrv_qed_close(bs);
memset(s, 0, sizeof(BDRVQEDState));
- bdrv_qed_open(bs, bs->open_flags);
+ bdrv_qed_open(bs, NULL, bs->open_flags);
}
static int bdrv_qed_check(BlockDriverState *bs, BdrvCheckResult *result,