Re: [PATCH] tpm: vtpm_proxy: Do not run tpm2_shutdown

From: Jason Gunthorpe
Date: Thu May 25 2017 - 16:44:35 EST


On Thu, May 25, 2017 at 04:32:50PM -0400, Stefan Berger wrote:

> It doesn't hang. Everything is torn down immediately. What is primarily
> annoying are these two log messages:
> tpm tpm0: tpm_transmit: tpm_send: error -32
> tpm tpm0: transmit returned -32 while stopping the TPM

I think it would be better to change the core to suppress that logging
if the FD is closed.

Jason