summaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:46:31 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:30 +0100
commite26a0d0070630baf8fc03f66fdc01682b7bad35e (patch)
tree9f7722e9b64eae0b52c6925ed6e9479aa16f0a36 /qapi-schema.json
parent4e022d01ee17cbc5653db51108832fe938a9c6da (diff)
downloadqemu-e26a0d0070630baf8fc03f66fdc01682b7bad35e.tar.gz
qmp-commands: move 'query-command-line-options' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 782d802bad..edae7eebbf 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -5136,6 +5136,28 @@
# @option). Returns an error if the given @option doesn't exist.
#
# Since: 1.5
+#
+# Example:
+#
+# -> { "execute": "query-command-line-options",
+# "arguments": { "option": "option-rom" } }
+# <- { "return": [
+# {
+# "parameters": [
+# {
+# "name": "romfile",
+# "type": "string"
+# },
+# {
+# "name": "bootindex",
+# "type": "number"
+# }
+# ],
+# "option": "option-rom"
+# }
+# ]
+# }
+#
##
{'command': 'query-command-line-options', 'data': { '*option': 'str' },
'returns': ['CommandLineOptionInfo'] }