diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-03-15 10:35:02 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-03-15 16:07:49 +0100 |
commit | de9c0cec6c823071b903ebeebf1ee70b394ff46f (patch) | |
tree | 759bfc8e7040dc3d174b56f2eb6fe78bb2e17d22 /qemu-nbd.c | |
parent | 1a86938f04b1abfd28e053b8c6f4b8ed9e4ffe08 (diff) | |
download | qemu-de9c0cec6c823071b903ebeebf1ee70b394ff46f.tar.gz qemu-de9c0cec6c823071b903ebeebf1ee70b394ff46f.tar.bz2 qemu-de9c0cec6c823071b903ebeebf1ee70b394ff46f.zip |
block: Add options QDict to bdrv_open() prototype
It doesn't do anything yet except storing the options QDict in the
BlockDriverState.
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 'qemu-nbd.c')
-rw-r--r-- | qemu-nbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-nbd.c b/qemu-nbd.c index e7268d0a9f..ca722ed425 100644 --- a/qemu-nbd.c +++ b/qemu-nbd.c @@ -557,7 +557,7 @@ int main(int argc, char **argv) bs = bdrv_new("hda"); srcpath = argv[optind]; - if ((ret = bdrv_open(bs, srcpath, flags, NULL)) < 0) { + if ((ret = bdrv_open(bs, srcpath, NULL, flags, NULL)) < 0) { errno = -ret; err(EXIT_FAILURE, "Failed to bdrv_open '%s'", argv[optind]); } |