rbd: Support .bdrv_co_create
commit1bebea37b43223a45c39dcbc158f3cec6164fdbf
authorKevin Wolf <kwolf@redhat.com>
Wed, 31 Jan 2018 15:27:38 +0000 (31 16:27 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 9 Mar 2018 14:17:47 +0000 (9 15:17 +0100)
tree10dac678f900260c91b1087a7acda357a085e1b4
parent4bfb274165ba013bacd2a40fd28c7c2e04a831f3
rbd: Support .bdrv_co_create

This adds the .bdrv_co_create driver callback to rbd, which enables
image creation over QMP.

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