diff options
author | Stefan Weil <sw@weilnetz.de> | 2013-03-24 08:08:36 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-03-25 09:53:04 +0100 |
commit | ea804cadf867a0521b9069193db339d041a40689 (patch) | |
tree | afa7032c4658c5d27018062fada99e233b41b546 /block | |
parent | d43731c75830dc63ae94282d84208a5652095bb7 (diff) | |
download | qemu-ea804cadf867a0521b9069193db339d041a40689.tar.gz qemu-ea804cadf867a0521b9069193db339d041a40689.tar.bz2 qemu-ea804cadf867a0521b9069193db339d041a40689.zip |
block: Add options QDict to bdrv_file_open() prototypes (fix MinGW build)
The new parameter is unused yet.
This part was missing in commit 787e4a8500020695eb391e2f1cc4767ee071d441.
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/raw-win32.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/block/raw-win32.c b/block/raw-win32.c index 18e0068b26..ece2f1a809 100644 --- a/block/raw-win32.c +++ b/block/raw-win32.c @@ -221,7 +221,8 @@ static void raw_parse_flags(int flags, int *access_flags, DWORD *overlapped) } } -static int raw_open(BlockDriverState *bs, const char *filename, int flags) +static int raw_open(BlockDriverState *bs, const char *filename, + QDict *options, int flags) { BDRVRawState *s = bs->opaque; int access_flags; @@ -494,7 +495,8 @@ static int hdev_probe_device(const char *filename) return 0; } -static int hdev_open(BlockDriverState *bs, const char *filename, int flags) +static int hdev_open(BlockDriverState *bs, const char *filename, + QDict *options, int flags) { BDRVRawState *s = bs->opaque; int access_flags, create_flags; |