qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 8/8] tpm: Added support for TPM emulator


From: Stefan Berger
Subject: Re: [Qemu-devel] [PATCH v3 8/8] tpm: Added support for TPM emulator
Date: Tue, 2 May 2017 13:19:07 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 05/02/2017 01:09 PM, Marc-André Lureau wrote:
Hi

On Tue, May 2, 2017 at 8:59 PM Stefan Berger <address@hidden>
wrote:

On 05/02/2017 12:05 PM, Marc-André Lureau wrote:

Hi

On Tue, May 2, 2017 at 3:53 PM Amarnath Valluri <
address@hidden> wrote:

This change introduces a new TPM backend driver that can communicate with
swtpm(software TPM emulator) using unix domain socket interface.

Swtpm uses two unix sockets, one for plain TPM commands and responses,
and one
for out-of-band control messages.


Let's not forget to mention the external protocol this backend rely on:
https://github.com/stefanberger/swtpm/wiki/Control-Channel-Specification

The protocol documentation is quite limited.

(I still question the need to rely on a public protocol, and a seperate
helper process project. If we had a qemu-swtpm, we could more easily evolve
the protocol in the future)


And who is going to implement that qemu-swtpm? Obviously this discussion
doesn't contribute to progress if nobody is doing that in the end.

The same persons who try to push for that emulated TPM code. The easiest
approach would be to copy/adapt the swtpm code in qemu, if the licence is
compatible. I can help with that if there is a consensus it's a better
approach.


It's a matter of time and at least I don't have time for that. Nevertheless, I would suggest to reach that consensus so that we know what will happen to at least 8/8 of this series.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]