qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v1 71/72] qapi: Extract nbd-server-add definition in


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

Signed-off-by: Benoit Canet <address@hidden>
---
 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




reply via email to

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