Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated TPMs

From: Jason Gunthorpe
Date: Thu Mar 10 2016 - 17:12:30 EST


On Thu, Mar 10, 2016 at 06:39:15PM +0200, Jarkko Sakkinen wrote:
> Some might want to use this in a way that the created virtual device
> is not closed when /dev/vtpmx is closed.

No, there is no reason to create an API like that - TPM's are
stateful, one cannot close the server side and re-connect and expect
things to continue to work.

Jason