From: Eric Blake <eblake@redhat.com>
To: Quan Xu <quan.xu@intel.com>,
stefano.stabellini@eu.citrix.com, stefanb@linux.vnet.ibm.com
Cc: wei.liu2@citrix.com, qemu-devel@nongnu.org,
xen-devel@lists.xen.org, aliguori@amazon.com,
pbonzini@redhat.com, dgdegra@tycho.nsa.gov
Subject: Re: [Qemu-devel] [PATCH v5 1/6] Qemu-Xen-vTPM: Support for Xen stubdom vTPM command line options
Date: Fri, 10 Apr 2015 07:22:13 -0600 [thread overview]
Message-ID: <5527CE85.90407@redhat.com> (raw)
In-Reply-To: <1428649159-30879-2-git-send-email-quan.xu@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1786 bytes --]
On 04/10/2015 12:59 AM, Quan Xu wrote:
> Signed-off-by: Quan Xu <quan.xu@intel.com>
>
> --Changes in v5:
> -qapi schema enhancement.
> ---
> configure | 14 ++++++++++++++
> hmp.c | 2 ++
> qapi-schema.json | 17 +++++++++++++++--
> qemu-options.hx | 13 +++++++++++--
> tpm.c | 7 ++++++-
> 5 files changed, 48 insertions(+), 5 deletions(-)
>
> +++ b/qapi-schema.json
> @@ -2975,9 +2975,11 @@
> #
> # @passthrough: TPM passthrough type
> #
> +# @xenstubdoms: TPM xenstubdoms type (since 2.4)
> +#
> # Since: 1.5
> ##
> -{ 'enum': 'TpmType', 'data': [ 'passthrough' ] }
> +{ 'enum': 'TpmType', 'data': [ 'passthrough', 'xenstubdoms' ] }
>
> ##
> # @query-tpm-types:
> @@ -3006,6 +3008,15 @@
> '*cancel-path' : 'str'} }
>
> ##
> +# @TPMXenstubdomsOptions:
> +#
> +# Information about the TPM xenstubdoms type
> +#
> +# Since: 2.4
> +##
> +{ 'type': 'TPMXenstubdomsOptions', 'data': { } }
> +
> +##
> # @TpmTypeOptions:
> #
> # A union referencing different TPM backend types' configuration options
> @@ -3015,7 +3026,9 @@
> # Since: 1.5
> ##
> { 'union': 'TpmTypeOptions',
> - 'data': { 'passthrough' : 'TPMPassthroughOptions' } }
> + 'data': { 'passthrough' : 'TPMPassthroughOptions',
> + 'xenstubdoms' : 'TPMXenstubdomsOptions' } }
Hmm, maybe it is time for me to follow through with my threat of
allowing anonymous types in union branches.
> +##
Stray insertion. Please remove it.
>
> ##
> # @TpmInfo:
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 319d971..9254902 100644
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2015-04-10 13:22 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-10 6:59 [Qemu-devel] [PATCH v5 0/6] QEMU:Xen stubdom vTPM for HVM virtual machine(QEMU patch) Quan Xu
2015-04-10 6:59 ` [Qemu-devel] [PATCH v5 1/6] Qemu-Xen-vTPM: Support for Xen stubdom vTPM command line options Quan Xu
2015-04-10 13:22 ` Eric Blake [this message]
2015-04-13 2:32 ` Xu, Quan
2015-04-13 2:32 ` Xu, Quan
2015-04-10 13:22 ` Eric Blake
2015-04-10 6:59 ` Quan Xu
2015-04-10 6:59 ` [Qemu-devel] [PATCH v5 2/6] Qemu-Xen-vTPM: Xen frontend driver infrastructure Quan Xu
2015-04-10 6:59 ` Quan Xu
2015-04-10 6:59 ` [PATCH v5 3/6] " Quan Xu
2015-04-10 6:59 ` [Qemu-devel] " Quan Xu
2015-04-15 14:44 ` Stefan Berger
2015-04-15 14:44 ` Stefan Berger
2015-04-15 15:07 ` Daniel De Graaf
2015-04-15 15:07 ` Daniel De Graaf
2015-04-16 1:03 ` Xu, Quan
2015-04-16 1:03 ` Xu, Quan
2015-04-10 6:59 ` [PATCH v5 4/6] Qemu-Xen-vTPM: Qemu vTPM xenstubdoms backen Quan Xu
2015-04-10 6:59 ` [Qemu-devel] " Quan Xu
2015-04-15 14:50 ` Stefan Berger
2015-04-16 1:07 ` Xu, Quan
2015-04-16 1:07 ` Xu, Quan
2015-04-15 14:50 ` Stefan Berger
2015-04-10 6:59 ` [Qemu-devel] [PATCH v5 5/6] Qemu-Xen-vTPM: QEMU machine class is initialized before tpm_init() Quan Xu
2015-04-10 6:59 ` Quan Xu
2015-04-10 6:59 ` [Qemu-devel] [PATCH v5 6/6] Qemu-Xen-vTPM: Add a parameter indicating whether the command that was a selftest Quan Xu
2015-04-10 6:59 ` Quan Xu
2015-04-12 20:50 ` Stefan Berger
2015-04-12 20:50 ` [Qemu-devel] " Stefan Berger
2015-04-13 2:15 ` Xu, Quan
2015-04-13 2:15 ` [Qemu-devel] " Xu, Quan
2015-04-15 14:56 ` Stefan Berger
2015-04-15 14:56 ` Stefan Berger
2015-04-16 1:04 ` Xu, Quan
2015-04-16 1:04 ` Xu, Quan
2015-04-13 22:35 ` Stefan Berger
2015-04-13 22:35 ` [Qemu-devel] " Stefan Berger
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=5527CE85.90407@redhat.com \
--to=eblake@redhat.com \
--cc=aliguori@amazon.com \
--cc=dgdegra@tycho.nsa.gov \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quan.xu@intel.com \
--cc=stefanb@linux.vnet.ibm.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
/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.