[libvirt] [PATCH v2 5/6] tpm: Add support for choosing emulation of a TPM 2

Stefan Berger stefanb at linux.vnet.ibm.com
Wed Apr 11 17:08:32 UTC 2018


On 04/10/2018 10:50 PM, Stefan Berger wrote:
> This patch extends the TPM's device XML with TPM 2 support. This only works
> for the emulator type backend and looks as follows:
>
>      <tpm model='tpm-tis'>
>        <backend type='emulator' tpmversion='2'/>
>      </tpm>
>
> Once the version of a TPM has been chosen it cannot be changed anymore unless
> one removes the TPM device first and then reads it. However, one looses all
> the secrets stored inside or tied to the emulated TPM by doing this.

Actually, it can be changed now and the state is preserved. I forgot to 
update the text here.




More information about the libvir-list mailing list