]> git.proxmox.com Git - mirror_qemu.git/commit
rbd: Remove non-schema options from runtime_opts
authorKevin Wolf <kwolf@redhat.com>
Thu, 15 Feb 2018 19:31:04 +0000 (20:31 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 9 Mar 2018 14:17:47 +0000 (15:17 +0100)
commit4ff4504974d0b41cd7e2b1a8aa346072eb219541
tree1e957b22206bf6662c2e3eb965672a44261027f4
parent3d9136f972d3dc678fc46de8fc126ba00a46508e
rbd: Remove non-schema options from runtime_opts

Instead of the QemuOpts in qemu_rbd_connect(), we want to use QAPI
objects. As a preparation, fetch those options directly from the QDict
that .bdrv_open() supports in the rbd driver and that are not in the
schema.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block/rbd.c