]> git.proxmox.com Git - mirror_qemu.git/commit - qapi/block-core.json
block/rbd: add support for 'mon_host', 'auth_supported' via QAPI
authorJeff Cody <jcody@redhat.com>
Mon, 27 Feb 2017 17:36:46 +0000 (12:36 -0500)
committerJeff Cody <jcody@redhat.com>
Thu, 2 Mar 2017 03:39:25 +0000 (22:39 -0500)
commit0a55679b4a5061f4d74bdb1a0e81611ba3390b00
tree56bc7117421afc45725bca3118f698fd54b9ae38
parent8a47e8eb592b30b010fe143eb2393d4033f0a79c
block/rbd: add support for 'mon_host', 'auth_supported' via QAPI

This adds support for three additional options that may be specified
by QAPI in blockdev-add:

    server: host, port
    auth method: either 'cephx' or 'none'

The "server" and "auth-supported" QAPI parameters are arrays.  To conform
with the rados API, the array items are join as a single string with a ';'
character as a delimiter when setting the configuration values.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
block/rbd.c
qapi/block-core.json