From: Marc-André Lureau Date: Thu, 23 Jun 2016 11:43:58 +0000 (+0200) Subject: qmp-commands: move 'query-tpm-models' doc to schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b7c7941b04bbc65425bcad710fa29fb88bd5ab9f;p=qemu.git qmp-commands: move 'query-tpm-models' doc to schema Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index e5ac6a162c..f3ec744708 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 e213873e0c..1c9573bec0 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'] }