On 05/02/2017 07:52 AM, Amarnath Valluri wrote:
Briefly, Theses set of patches introduces:
- new TPM backend driver to support software TPM emulators(swtpm(1)).
- and few supported fixes/enhancements/cleanup to existing tpm
backend code.
The similar idea was initiated earliar(2) by Stefan Berger(CCed)
with slightly
different approach, using CUSE. As swtpm has excellent support for
unix domain
sockets, hence this implementation uses unix domain sockets to
communicate
with
swtpm.
I think you would need something like this as well:
https://github.com/stefanberger/qemu-tpm/commit/9d8c9c3f0df288242d03f78d3b103099c1910574
https://github.com/stefanberger/qemu-tpm/commit/b9ea09d2e26eac92b4a1604a7afa695c4fc2735e