summaryrefslogtreecommitdiff
path: root/block/nbd.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/nbd.c
parent92b7a08d64e5e3129fa885f9d180e5bddcb76b42 (diff)
downloadqemu-787e4a8500020695eb391e2f1cc4767ee071d441.tar.gz
qemu-787e4a8500020695eb391e2f1cc4767ee071d441.tar.bz2
qemu-787e4a8500020695eb391e2f1cc4767ee071d441.zip
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/nbd.c')
-rw-r--r--block/nbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/block/nbd.c b/block/nbd.c
index a5812948d2..0473908996 100644
--- a/block/nbd.c
+++ b/block/nbd.c
@@ -376,7 +376,8 @@ static void nbd_teardown_connection(BlockDriverState *bs)
closesocket(s->sock);
}
-static int nbd_open(BlockDriverState *bs, const char* filename, int flags)
+static int nbd_open(BlockDriverState *bs, const char* filename,
+ QDict *options, int flags)
{
BDRVNBDState *s = bs->opaque;
int result;