diff options
author | Eric Blake <eblake@redhat.com> | 2020-10-27 00:05:49 -0500 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2020-10-30 15:10:15 -0500 |
commit | cbad81cef8cc7b220f04600997ea29d7302bae00 (patch) | |
tree | b99f92ee23a0a2eb40efdad1a493e373c9cdcb60 /qobject | |
parent | 8675cbd68be7da35a61e391fbb5b95ac67bc7d72 (diff) | |
download | qemu-cbad81cef8cc7b220f04600997ea29d7302bae00.zip qemu-cbad81cef8cc7b220f04600997ea29d7302bae00.tar.gz qemu-cbad81cef8cc7b220f04600997ea29d7302bae00.tar.bz2 |
nbd: Update qapi to support exporting multiple bitmaps
Since 'block-export-add' is new to 5.2, we can still tweak the
interface; there, allowing 'bitmaps':['str'] is nicer than
'bitmap':'str'. This wires up the qapi and qemu-nbd changes to permit
passing multiple bitmaps as distinct metadata contexts that the NBD
client may request, but the actual support for more than one will
require a further patch to the server.
Note that there are no changes made to the existing deprecated
'nbd-server-add' command; this required splitting the QAPI type
BlockExportOptionsNbd, which fortunately does not affect QMP
introspection.
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20201027050556.269064-5-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions