From b7c7941b04bbc65425bcad710fa29fb88bd5ab9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 13:43:58 +0200 Subject: [PATCH] qmp-commands: move 'query-tpm-models' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-commands.txt | 12 ------------ qapi-schema.json | 6 ++++++ 2 files changed, 6 insertions(+), 12 deletions(-) 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'] }