aboutsummaryrefslogtreecommitdiff
path: root/block/rbd.c
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2020-08-06 17:13:44 -0400
committerMax Reitz <mreitz@redhat.com>2020-09-15 11:05:13 +0200
commit30b70f070f76baf7075a6668ad6b30025caadf5d (patch)
treeda1bdb1542f6a207e831b15a2723c6a20cc55b6d /block/rbd.c
parent580384d63718beaa1edaafd9875058805b7a0beb (diff)
downloadqemu-30b70f070f76baf7075a6668ad6b30025caadf5d.zip
qemu-30b70f070f76baf7075a6668ad6b30025caadf5d.tar.gz
qemu-30b70f070f76baf7075a6668ad6b30025caadf5d.tar.bz2
block/rbd: remove runtime_opts
This saw its last use in 4bfb274165ba. Signed-off-by: John Snow <jsnow@redhat.com> Message-Id: <20200806211345.2925343-2-jsnow@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/rbd.c')
-rw-r--r--block/rbd.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/block/rbd.c b/block/rbd.c
index 688074c..171c67e 100644
--- a/block/rbd.c
+++ b/block/rbd.c
@@ -341,48 +341,6 @@ static void qemu_rbd_memset(RADOSCB *rcb, int64_t offs)
}
}
-static QemuOptsList runtime_opts = {
- .name = "rbd",
- .head = QTAILQ_HEAD_INITIALIZER(runtime_opts.head),
- .desc = {
- {
- .name = "pool",
- .type = QEMU_OPT_STRING,
- .help = "Rados pool name",
- },
- {
- .name = "namespace",
- .type = QEMU_OPT_STRING,
- .help = "Rados namespace name in the pool",
- },
- {
- .name = "image",
- .type = QEMU_OPT_STRING,
- .help = "Image name in the pool",
- },
- {
- .name = "conf",
- .type = QEMU_OPT_STRING,
- .help = "Rados config file location",
- },
- {
- .name = "snapshot",
- .type = QEMU_OPT_STRING,
- .help = "Ceph snapshot name",
- },
- {
- /* maps to 'id' in rados_create() */
- .name = "user",
- .type = QEMU_OPT_STRING,
- .help = "Rados id name",
- },
- /*
- * server.* extracted manually, see qemu_rbd_mon_host()
- */
- { /* end of list */ }
- },
-};
-
/* FIXME Deprecate and remove keypairs or make it available in QMP. */
static int qemu_rbd_do_create(BlockdevCreateOptions *options,
const char *keypairs, const char *password_secret,