Re: [Qemu-devel] [PATCH v2 5/9] tmp backend: Add new api to read backend TpmInfo

2017-05-02 Thread Amarnath Valluri
On 04/25/2017 09:59 PM, Eric Blake wrote: On 04/25/2017 01:51 PM, Stefan Berger wrote: +++ b/qapi-schema.json @@ -5140,6 +5140,16 @@ { 'command': 'query-tpm-types', 'returns': ['TpmType'] } ## +# @TPMOptions: +# +# Base type for TPM options +# +# Since: 2.10 +## +{ 'struct': 'TPMOption

Re: [Qemu-devel] [PATCH v2 5/9] tmp backend: Add new api to read backend TpmInfo

2017-04-25 Thread Eric Blake
On 04/25/2017 01:51 PM, Stefan Berger wrote: >> +++ b/qapi-schema.json >> @@ -5140,6 +5140,16 @@ >> { 'command': 'query-tpm-types', 'returns': ['TpmType'] } >> >> ## >> +# @TPMOptions: >> +# >> +# Base type for TPM options >> +# >> +# Since: 2.10 >> +## >> +{ 'struct': 'TPMOptions', >> + 'dat

Re: [Qemu-devel] [PATCH v2 5/9] tmp backend: Add new api to read backend TpmInfo

2017-04-25 Thread Stefan Berger
On 04/07/2017 10:30 AM, Amarnath Valluri wrote: TPM configuration options are backend implementation details and shall not be part of base TPMBackend object, and these shall not be accessed directly outside of the class, hence added a new interface method, get_tpm_options() to TPMDriverOps., whic

[Qemu-devel] [PATCH v2 5/9] tmp backend: Add new api to read backend TpmInfo

2017-04-07 Thread Amarnath Valluri
TPM configuration options are backend implementation details and shall not be part of base TPMBackend object, and these shall not be accessed directly outside of the class, hence added a new interface method, get_tpm_options() to TPMDriverOps., which shall be implemented by the derived classes to r