summaryrefslogtreecommitdiff
path: root/block/dmg.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/dmg.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/dmg.c')
-rw-r--r--block/dmg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/dmg.c b/block/dmg.c
index 6d85801a84..c1066df13a 100644
--- a/block/dmg.c
+++ b/block/dmg.c
@@ -85,7 +85,7 @@ static int read_uint32(BlockDriverState *bs, int64_t offset, uint32_t *result)
return 0;
}
-static int dmg_open(BlockDriverState *bs, int flags)
+static int dmg_open(BlockDriverState *bs, QDict *options, int flags)
{
BDRVDMGState *s = bs->opaque;
uint64_t info_begin,info_end,last_in_offset,last_out_offset;