aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:45:12 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:30 +0100
commit4e022d01ee17cbc5653db51108832fe938a9c6da (patch)
tree9f3e0d1de3aa5548eab4be75b8aaba89b95706e8 /qapi-schema.json
parent5a4c031616f4f41edebe608732a7f784c4cff484 (diff)
qmp-commands: move 'query-tpm' 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.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 68a841882d..782d802bad 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -4991,6 +4991,25 @@
# Returns: @TPMInfo on success
#
# Since: 1.5
+#
+# Example:
+#
+# -> { "execute": "query-tpm" }
+# <- { "return":
+# [
+# { "model": "tpm-tis",
+# "options":
+# { "type": "passthrough",
+# "data":
+# { "cancel-path": "/sys/class/misc/tpm0/device/cancel",
+# "path": "/dev/tpm0"
+# }
+# },
+# "id": "tpm0"
+# }
+# ]
+# }
+#
##
{ 'command': 'query-tpm', 'returns': ['TPMInfo'] }