diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-06-14 21:14:26 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-06-15 14:49:44 +0200 |
commit | bb9f762ff35459e34630d731a5a91c02602150d1 (patch) | |
tree | 7943171b3a41f432ead0451c289188f44701c9b8 /block/rbd.c | |
parent | b8a366feb2aa2200c42fa983a9c607fb78a501db (diff) | |
download | qemu-bb9f762ff35459e34630d731a5a91c02602150d1.zip qemu-bb9f762ff35459e34630d731a5a91c02602150d1.tar.gz qemu-bb9f762ff35459e34630d731a5a91c02602150d1.tar.bz2 |
rbd: Drop deprecated -drive parameter "filename"
Parameter "filename" is deprecated since commit 91589d9e5ca, v2.10.0.
Time to get rid of it.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/rbd.c')
-rw-r--r-- | block/rbd.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/block/rbd.c b/block/rbd.c index a16431e..40c6e41 100644 --- a/block/rbd.c +++ b/block/rbd.c @@ -632,25 +632,9 @@ static int qemu_rbd_open(BlockDriverState *bs, QDict *options, int flags, QObject *crumpled = NULL; const QDictEntry *e; Error *local_err = NULL; - const char *filename; char *keypairs, *secretid; int r; - /* If we are given a filename, parse the filename, with precedence given to - * filename encoded options */ - filename = qdict_get_try_str(options, "filename"); - if (filename) { - warn_report("'filename' option specified. " - "This is an unsupported option, and may be deprecated " - "in the future"); - qemu_rbd_parse_filename(filename, options, &local_err); - qdict_del(options, "filename"); - if (local_err) { - error_propagate(errp, local_err); - return -EINVAL; - } - } - keypairs = g_strdup(qdict_get_try_str(options, "=keyvalue-pairs")); if (keypairs) { qdict_del(options, "=keyvalue-pairs"); |