qmp-commands: move 'closefd' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 483769c..d727f36 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -688,20 +688,6 @@
 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 b4dacd4..b5c0136 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -4015,6 +4015,12 @@
 # Returns: Nothing on success
 #
 # Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "closefd", "arguments": { "fdname": "fd1" } }
+# <- { "return": {} }
+#
 ##
 { 'command': 'closefd', 'data': {'fdname': 'str'} }