nbd: Allow description when creating NBD blockdev
authorEric Blake <eblake@redhat.com>
Thu, 14 Nov 2019 02:46:35 +0000 (20:46 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 5 Feb 2020 23:22:13 +0000 (17:22 -0600)
commitdeb6ccb077238660080abe7e667bbf8ede5141c7
tree9251a3aee8863567541d966115cff6643758607c
parent7bd9d0a9e26c7a3c67c0f174f0009ba19969b158
nbd: Allow description when creating NBD blockdev

Allow blockdevs to match the feature already present in qemu-nbd -D.
Enhance iotest 223 to cover it.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20191114024635.11363-5-eblake@redhat.com>
blockdev-nbd.c
monitor/hmp-cmds.c
qapi/block.json
tests/qemu-iotests/223
tests/qemu-iotests/223.out