Hi Andrea:
We have a non-trivial amount of architecture-specific logic
dealing with TPM, so it's good to have coverage for it.
Note that two architectures currently don't have support for
TPM devices enabled by default in QEMU: loongarch64 and s390x.
The situation might change for the former, but that's unlikely
to happen for the latter.
loongarch64 has added support in the source code of qemu using TIS TPM2.0.
Before submission, we only carried out a simple test on TPM function,
which is still in the experimental stage. Up to now, after adding tpm
device, t
here will be an exception in the startup stage of guestos.
We don't have the energy to solve this problem at the moment, so
please skip it for now.
Thanks!
Xianglai.