From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgYtK-0008Hy-Lg for qemu-devel@nongnu.org; Fri, 10 Apr 2015 09:22:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgYtG-0003P0-1e for qemu-devel@nongnu.org; Fri, 10 Apr 2015 09:22:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgYtF-0003On-RK for qemu-devel@nongnu.org; Fri, 10 Apr 2015 09:22:33 -0400 Message-ID: <5527CE85.90407@redhat.com> Date: Fri, 10 Apr 2015 07:22:13 -0600 From: Eric Blake MIME-Version: 1.0 References: <1428649159-30879-1-git-send-email-quan.xu@intel.com> <1428649159-30879-2-git-send-email-quan.xu@intel.com> In-Reply-To: <1428649159-30879-2-git-send-email-quan.xu@intel.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2Lj8mb5B1dRAvNRR8kNJ2GOcrpvVlVEIn" Subject: Re: [Qemu-devel] [PATCH v5 1/6] Qemu-Xen-vTPM: Support for Xen stubdom vTPM command line options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Quan Xu , 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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2Lj8mb5B1dRAvNRR8kNJ2GOcrpvVlVEIn Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/10/2015 12:59 AM, Quan Xu wrote: > Signed-off-by: Quan Xu >=20 > --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(-) >=20 > +++ 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' ] } > =20 > ## > # @query-tpm-types: > @@ -3006,6 +3008,15 @@ > '*cancel-path' : 'str'} }= > =20 > ## > +# @TPMXenstubdomsOptions: > +# > +# Information about the TPM xenstubdoms type > +# > +# Since: 2.4 > +## > +{ 'type': 'TPMXenstubdomsOptions', 'data': { } } > + > +## > # @TpmTypeOptions: > # > # A union referencing different TPM backend types' configuration optio= ns > @@ -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. > =20 > ## > # @TpmInfo: > diff --git a/qemu-options.hx b/qemu-options.hx > index 319d971..9254902 100644 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --2Lj8mb5B1dRAvNRR8kNJ2GOcrpvVlVEIn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVJ86FAAoJEKeha0olJ0NqEtMH/2oqfETvo/ULtC0cYCqProaa /hMlcZ+d81qdTjK4YBrQOdBZDr1WSsYvIOkeGeP4wnBzXwN8QZRGTwidymF2OyWo +yNkPa1gsZOwKfRNFCTqPYVT2AIrLYazvW6Q0lA57pTrjQ6+79PwWgy7vAcbInaT 8SO029OvtugUkg2rJVtrEe1fnQPXsZg7AF4M0Utjcl2fmzGooWquKU0iaGx8SiAO kkfWbr86gTGe3UrVEx6F6UOJMTV+MXS93YrrhWusCcWVSmVtw1KKy9cp5lqM4bxF vhX56DJMkkU82C9qf/Cm4NQ/KLUBiVTYgP4ZDVca909N31sjkYphta8axcxwR+8= =e3Vf -----END PGP SIGNATURE----- --2Lj8mb5B1dRAvNRR8kNJ2GOcrpvVlVEIn--