[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 28/30] qmp-commands: move 'getfd' doc to schema
From: |
Marc-André Lureau |
Subject: |
[Qemu-devel] [PATCH 28/30] qmp-commands: move 'getfd' doc to schema |
Date: |
Thu, 22 Sep 2016 13:23:03 +0400 |
Signed-off-by: Marc-André Lureau <address@hidden>
---
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
- [Qemu-devel] [PATCH 18/30] qmp-commands: move 'xen-save-devices-state' doc to schema, (continued)
- [Qemu-devel] [PATCH 18/30] qmp-commands: move 'xen-save-devices-state' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 19/30] qmp-commands: move 'xen-set-global-dirty-log' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 20/30] qmp-commands: move 'device_del' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 21/30] qmp-commands: move 'dump-guest-memory' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 22/30] qmp-commands: move 'query-dump-guest-memory-capability' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 23/30] qmp-commands: move 'dump-skeys' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 24/30] qmp-commands: move 'netdev_add' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 25/30] qmp-commands: move 'netdev_del' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 26/30] qmp-commands: move 'object-add' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 27/30] qmp-commands: move 'object-del' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 28/30] qmp-commands: move 'getfd' doc to schema,
Marc-André Lureau <=
- [Qemu-devel] [PATCH 29/30] qmp-commands: move 'closefd' doc to schema, Marc-André Lureau, 2016/09/22
- [Qemu-devel] [PATCH 30/30] qmp-commands: move 'add-fd' doc to schema, Marc-André Lureau, 2016/09/22
- Re: [Qemu-devel] [PATCH 00/30] Move qapi documentation to schema (part 2/5), Eric Blake, 2016/09/22