mirror of https://github.com/xqemu/xqemu.git
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>
This commit is contained in:
parent
5a4c031616
commit
4e022d01ee
|
@ -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
|
query-rx-filter
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|
|
@ -4991,6 +4991,25 @@
|
||||||
# Returns: @TPMInfo on success
|
# Returns: @TPMInfo on success
|
||||||
#
|
#
|
||||||
# Since: 1.5
|
# 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'] }
|
{ 'command': 'query-tpm', 'returns': ['TPMInfo'] }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue