summaryrefslogtreecommitdiffstats
path: root/scripts/modules
diff options
context:
space:
mode:
authorAmarnath Valluri2017-09-29 13:10:17 +0200
committerStefan Berger2017-10-13 13:34:33 +0200
commitf59864ba3aedd26aef7c84545cc1e565caccebf7 (patch)
tree983a625007c81afa85697b95fc7b9a33ce73e2a1 /scripts/modules
parenttpm-backend: Made few interface methods optional (diff)
downloadqemu-f59864ba3aedd26aef7c84545cc1e565caccebf7.tar.gz
qemu-f59864ba3aedd26aef7c84545cc1e565caccebf7.tar.xz
qemu-f59864ba3aedd26aef7c84545cc1e565caccebf7.zip
tpm-backend: Add new API to read backend TpmInfo
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 return configured tpm options. A new tpm backend api - tpm_backend_query_tpm() which uses _get_tpm_options() to prepare TpmInfo. Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'scripts/modules')
0 files changed, 0 insertions, 0 deletions