Signed-off-by: Benoit Canet <ben...@irqsave.net> --- qapi-schema.json | 16 ---------------- qapi/block.json | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json index 614b126..2ad42e4 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2463,22 +2463,6 @@ { 'command': 'screendump', 'data': {'filename': 'str'} } ## -# @nbd-server-add: -# -# Export a device to QEMU's embedded NBD server. -# -# @device: Block device to be exported -# -# @writable: Whether clients should be able to write to the device via the -# NBD connection (default false). #optional -# -# Returns: error if the device is already marked for export. -# -# Since: 1.3.0 -## -{ 'command': 'nbd-server-add', 'data': {'device': 'str', '*writable': 'bool'} } - -## # @nbd-server-stop: # # Stop QEMU's embedded NBD server, and unregister all devices previously diff --git a/qapi/block.json b/qapi/block.json index 690c871..dbe12e1 100644 --- a/qapi/block.json +++ b/qapi/block.json @@ -138,3 +138,19 @@ { 'command': 'nbd-server-start', 'data': { 'addr': 'SocketAddress' } } +## +# @nbd-server-add: +# +# Export a device to QEMU's embedded NBD server. +# +# @device: Block device to be exported +# +# @writable: Whether clients should be able to write to the device via the +# NBD connection (default false). #optional +# +# Returns: error if the device is already marked for export. +# +# Since: 1.3.0 +## +{ 'command': 'nbd-server-add', 'data': {'device': 'str', '*writable': 'bool'} } + -- 1.9.1