aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/qmp-commands.txt25
-rw-r--r--qapi-schema.json19
2 files changed, 19 insertions, 25 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index c613ab45f5..3afb4389a7 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -1203,31 +1203,6 @@ Example:
]
}
-query-tpm
----------
-
-Return information about the TPM device.
-
-Arguments: None
-
-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"
- }
- ]
- }
-
query-rx-filter
---------------
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'] }