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. > > 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. > > 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. > 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? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature