From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhfaW-0003dU-Pi for qemu-devel@nongnu.org; Mon, 13 Apr 2015 10:43:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhfaT-0004jR-IA for qemu-devel@nongnu.org; Mon, 13 Apr 2015 10:43:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhfaT-0004jL-9e for qemu-devel@nongnu.org; Mon, 13 Apr 2015 10:43:45 -0400 Message-ID: <552BD61C.8050504@redhat.com> Date: Mon, 13 Apr 2015 08:43:40 -0600 From: Eric Blake MIME-Version: 1.0 References: <1427830813-639306-1-git-send-email-stefanb@linux.vnet.ibm.com> <1427830813-639306-3-git-send-email-stefanb@linux.vnet.ibm.com> <945CA011AD5F084CBEA3E851C0AB28890E8DB967@SHSMSX101.ccr.corp.intel.com> <552ADCAE.7070600@linux.vnet.ibm.com> In-Reply-To: <552ADCAE.7070600@linux.vnet.ibm.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5TAomkDpo5ek9Ewg4sGJ4LPhsLfWWxKAB" Subject: Re: [Qemu-devel] [PATCH 2/3] tpm: Probe for connected TPM 1.2 or TPM 2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Berger , "Xu, Quan" , "qemu-devel@nongnu.org" , "mst@redhat.com" Cc: Stefan Berger This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5TAomkDpo5ek9Ewg4sGJ4LPhsLfWWxKAB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/12/2015 02:59 PM, Stefan Berger wrote: > On 04/07/2015 04:54 AM, Xu, Quan wrote: >> >> In my opinion, I prefer to point out tpm_version in QEMU command line >> options, then >> tpm_util_test_tpmdev() tries to verify it. >=20 > The only reason why I am not doing this was that libvirt for example > will need to probe for whether the additional parameter indicating the > TPM version is supported. Besides that I thought it should be possible > to probe on any platform and get a reliable result. >=20 > Maybe Eric has a comment. I have recently seen a discussion where an > additional parameter to an existing option was to be added, but cannot > remember which option that was. >=20 Hopefully, we are going to get introspection working for 2.4; at which point, libvirt can use that to query what options are new to any other command. Meanwhile, doesn't query-tpm-models already serve as a way to query additions on this front? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --5TAomkDpo5ek9Ewg4sGJ4LPhsLfWWxKAB 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/ iQEcBAEBCAAGBQJVK9YcAAoJEKeha0olJ0NqxKcH/0qtpelio0UKWRzNjHUrirCT gBja9zrS+tjFzccdefEeIi+8emh0BUrOmSUCI+M4wNz75hC8ZqwxGSsr4EG4ydpz uUjVzypIRuDRGSWkl/bvtY/ZtA74qXa+9ZagAwXcbZ1dGd4UvSDYTb1osN22L7e1 a02RQnasNHv2l8lMRAHj+76pDRSGGmGxBGajOb935NyP9L8YViQ2Txac6/Mc553P wJS17Ux/wrYFVqYjrdzh//DobPL8y9BFrgEdkpeM9SjzlG4IgM3PpLF/xYhi69bf cEtNVDuXnXh5yct5rdiXWsBarQpYAMFzKHsGfbepung9KdgOytkzlVx/6rhtBUo= =VVkd -----END PGP SIGNATURE----- --5TAomkDpo5ek9Ewg4sGJ4LPhsLfWWxKAB--