qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v1 70/72] qapi: Extract nbd-server-start definition


From: Benoît Canet
Subject: [Qemu-devel] [PATCH v1 70/72] qapi: Extract nbd-server-start definition into qapi/block.json
Date: Sat, 31 May 2014 13:51:49 +0200

Signed-off-by: Benoit Canet <address@hidden>
---
 qapi-schema.json | 17 -----------------
 qapi/block.json  | 17 +++++++++++++++++
 2 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/qapi-schema.json b/qapi-schema.json
index b67c883..614b126 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2463,23 +2463,6 @@
 { 'command': 'screendump', 'data': {'filename': 'str'} }
 
 ##
-# @nbd-server-start:
-#
-# Start an NBD server listening on the given host and port.  Block
-# devices can then be exported using @nbd-server-add.  The NBD
-# server will present them as named exports; for example, another
-# QEMU instance could refer to them as "nbd:HOST:PORT:exportname=NAME".
-#
-# @addr: Address on which to listen.
-#
-# Returns: error if the server is already running.
-#
-# Since: 1.3.0
-##
-{ 'command': 'nbd-server-start',
-  'data': { 'addr': 'SocketAddress' } }
-
-##
 # @nbd-server-add:
 #
 # Export a device to QEMU's embedded NBD server.
diff --git a/qapi/block.json b/qapi/block.json
index de4b144..690c871 100644
--- a/qapi/block.json
+++ b/qapi/block.json
@@ -121,3 +121,20 @@
 ##
 { 'command': 'eject', 'data': {'device': 'str', '*force': 'bool'} }
 
+##
+# @nbd-server-start:
+#
+# Start an NBD server listening on the given host and port.  Block
+# devices can then be exported using @nbd-server-add.  The NBD
+# server will present them as named exports; for example, another
+# QEMU instance could refer to them as "nbd:HOST:PORT:exportname=NAME".
+#
+# @addr: Address on which to listen.
+#
+# Returns: error if the server is already running.
+#
+# Since: 1.3.0
+##
+{ 'command': 'nbd-server-start',
+  'data': { 'addr': 'SocketAddress' } }
+
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]