qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 29/30] qmp-commands: move 'closefd' doc to schema


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH 29/30] qmp-commands: move 'closefd' doc to schema
Date: Thu, 22 Sep 2016 13:23:04 +0400

Signed-off-by: Marc-André Lureau <address@hidden>
---
 docs/qmp-commands.txt | 14 --------------
 qapi-schema.json      |  6 ++++++
 2 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 37ff37d..52bec44 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -673,20 +673,6 @@ Arguments:
 Returns: Nothing on success
          If "device" does not exist or cannot be determined, DeviceNotFound
 
-closefd
--------
-
-Close a file descriptor previously passed via SCM rights.
-
-Arguments:
-
-- "fdname": file descriptor name (json-string)
-
-Example:
-
--> { "execute": "closefd", "arguments": { "fdname": "fd1" } }
-<- { "return": {} }
-
 add-fd
 -------
 
diff --git a/qapi-schema.json b/qapi-schema.json
index 58cb15f..7607b1a 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3897,6 +3897,12 @@
 # Returns: Nothing on success
 #
 # Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "closefd", "arguments": { "fdname": "fd1" } }
+# <- { "return": {} }
+#
 ##
 { 'command': 'closefd', 'data': {'fdname': 'str'} }
 
-- 
2.10.0




reply via email to

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