From: Corey Bryant <coreyb@linux.vnet.ibm.com>
To: lcapitulino@redhat.com, armbru@redhat.com
Cc: qemu-devel@nongnu.org, stefanb@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH] QMP: TPM QMP and man page documentation updates
Date: Wed, 20 Mar 2013 12:36:26 -0400 [thread overview]
Message-ID: <5149E58A.3010309@linux.vnet.ibm.com> (raw)
In-Reply-To: <1363367835-11306-1-git-send-email-coreyb@linux.vnet.ibm.com>
I just resubmitted this patch as part of another series, so please
ignore this one.
--
Regards,
Corey Bryant
On 03/15/2013 01:17 PM, Corey Bryant wrote:
> Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
> ---
> qemu-options.hx | 3 ++-
> qmp-commands.hx | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 61 insertions(+), 1 deletion(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 30fb85d..3b3cd0f 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -2237,7 +2237,8 @@ Backend type must be:
> @option{passthrough}.
>
> The specific backend type will determine the applicable options.
> -The @code{-tpmdev} option requires a @code{-device} option.
> +The @code{-tpmdev} option creates the TPM backend and requires a
> +@code{-device} option that specifies the TPM frontend interface model.
>
> Options to each backend are described below.
>
> diff --git a/qmp-commands.hx b/qmp-commands.hx
> index b370060..4eda5ea 100644
> --- a/qmp-commands.hx
> +++ b/qmp-commands.hx
> @@ -2721,18 +2721,77 @@ EQMP
> .mhandler.cmd_new = qmp_marshal_input_query_tpm,
> },
>
> +SQMP
> +query-tpm
> +---------
> +
> +Return information about the TPM device.
> +
> +Arguments: None
> +
> +Example:
> +
> +-> { "execute": "query-tpm" }
> +<- { "return":
> + [
> + { "model": "tpm-tis",
> + "tpm-options":
> + { "type": "tpm-passthrough-options",
> + "data":
> + { "cancel-path": "/sys/class/misc/tpm0/device/cancel",
> + "path": "/dev/tpm0"
> + }
> + },
> + "type": "passthrough",
> + "id": "tpm0"
> + }
> + ]
> + }
> +
> +EQMP
> +
> {
> .name = "query-tpm-models",
> .args_type = "",
> .mhandler.cmd_new = qmp_marshal_input_query_tpm_models,
> },
>
> +SQMP
> +query-tpm-models
> +----------------
> +
> +Return a list of supported TPM models.
> +
> +Arguments: None
> +
> +Example:
> +
> +-> { "execute": "query-tpm-models" }
> +<- { "return": [ "tpm-tis" ] }
> +
> +EQMP
> +
> {
> .name = "query-tpm-types",
> .args_type = "",
> .mhandler.cmd_new = qmp_marshal_input_query_tpm_types,
> },
>
> +SQMP
> +query-tpm-types
> +---------------
> +
> +Return a list of supported TPM types.
> +
> +Arguments: None
> +
> +Example:
> +
> +-> { "execute": "query-tpm-types" }
> +<- { "return": [ "passthrough" ] }
> +
> +EQMP
> +
> {
> .name = "chardev-add",
> .args_type = "id:s,backend:q",
>
prev parent reply other threads:[~2013-03-20 16:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-15 17:17 [Qemu-devel] [PATCH] QMP: TPM QMP and man page documentation updates Corey Bryant
2013-03-15 17:54 ` Eric Blake
2013-03-18 16:16 ` Markus Armbruster
2013-03-18 17:46 ` Stefan Berger
2013-03-18 18:35 ` Corey Bryant
2013-03-19 7:26 ` Markus Armbruster
2013-03-19 14:59 ` Corey Bryant
2013-03-20 12:32 ` Markus Armbruster
2013-03-20 13:26 ` Corey Bryant
2013-03-20 16:36 ` Corey Bryant [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5149E58A.3010309@linux.vnet.ibm.com \
--to=coreyb@linux.vnet.ibm.com \
--cc=armbru@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanb@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.