This is RFC because it needs more testing and an additional patch to clean up around RbdAuthMethod. I'm sending it out now in the hope of getting some review.
Markus Armbruster (9): rbd: Reject -blockdev server.*.{numeric,to,ipv4,ipv6} rbd: Fix to cleanly reject -drive without pool or image rbd: Don't limit length of parameter values rbd: Clean up after the previous commit rbd: Don't accept -drive driver=rbd,keyvalue-pairs=... rbd: Clean up runtime_opts, fix -drive to reject filename rbd: Clean up qemu_rbd_create()'s detour through QemuOpts rbd: Rewrite the code to extract list-valued options rbd: Reject invalid authentication methods block/rbd.c | 333 ++++++++++++++++++--------------------------------- qapi-schema.json | 21 ++-- qapi/block-core.json | 2 +- 3 files changed, 131 insertions(+), 225 deletions(-) -- 2.7.4