Signed-off-by: Marc-André Lureau <[email protected]>
---
docs/qmp-commands.txt | 22 ----------------------
qapi-schema.json | 7 +++++++
2 files changed, 7 insertions(+), 22 deletions(-)
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 03d8c54..37ff37d 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -673,28 +673,6 @@ Arguments:
Returns: Nothing on success
If "device" does not exist or cannot be determined, DeviceNotFound
-getfd
------
-
-Receive a file descriptor via SCM rights and assign it a name.
-
-Arguments:
-
-- "fdname": file descriptor name (json-string)
-
-Example:
-
--> { "execute": "getfd", "arguments": { "fdname": "fd1" } }
-<- { "return": {} }
-
-Notes:
-
-(1) If the name specified by the "fdname" argument already exists,
- the file descriptor assigned to it will be closed and replaced
- by the received file descriptor.
-(2) The 'closefd' command can be used to explicitly close the file
- descriptor when it is no longer needed.
-
closefd
-------
diff --git a/qapi-schema.json b/qapi-schema.json
index b552378..58cb15f 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3875,8 +3875,15 @@
# Notes: If @fdname already exists, the file descriptor assigned to
# it will be closed and replaced by the received file
# descriptor.
+#
# The 'closefd' command can be used to explicitly close the
# file descriptor when it is no longer needed.
+#
+# Example:
+#
+# -> { "execute": "getfd", "arguments": { "fdname": "fd1" } }
+# <- { "return": {} }
+#
##
{ 'command': 'getfd', 'data': {'fdname': 'str'} }
--
2.10.0