aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:43:58 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:30 +0100
commitb7c7941b04bbc65425bcad710fa29fb88bd5ab9f (patch)
tree967723463e61bddcd517f762fd7fdc069cd95e2c
parent7cfee8d94367deee91776897c1b33ad99bd54fbf (diff)
downloadqemu-b7c7941b04bbc65425bcad710fa29fb88bd5ab9f.zip
qemu-b7c7941b04bbc65425bcad710fa29fb88bd5ab9f.tar.gz
qemu-b7c7941b04bbc65425bcad710fa29fb88bd5ab9f.tar.bz2
qmp-commands: move 'query-tpm-models' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r--docs/qmp-commands.txt12
-rw-r--r--qapi-schema.json6
2 files changed, 6 insertions, 12 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index e5ac6a1..f3ec744 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -1228,18 +1228,6 @@ Example:
]
}
-query-tpm-models
-----------------
-
-Return a list of supported TPM models.
-
-Arguments: None
-
-Example:
-
--> { "execute": "query-tpm-models" }
-<- { "return": [ "tpm-tis" ] }
-
query-tpm-types
---------------
diff --git a/qapi-schema.json b/qapi-schema.json
index e213873..1c9573b 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -4901,6 +4901,12 @@
# Returns: a list of TpmModel
#
# Since: 1.5
+#
+# Example:
+#
+# -> { "execute": "query-tpm-models" }
+# <- { "return": [ "tpm-tis" ] }
+#
##
{ 'command': 'query-tpm-models', 'returns': ['TpmModel'] }