[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] Adding /dev/tpm0 to qemu-system-aarch64
From: |
Lakshmi Ramasubramanian |
Subject: |
[Qemu-arm] Adding /dev/tpm0 to qemu-system-aarch64 |
Date: |
Mon, 16 Sep 2019 09:21:17 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
Hello,
I am trying to add a TPM device (/dev/tpm0) for qemu-system-aarch64.
I have a TPM simulator implemented as a Trusted Application (TA). The
device /dev/tee0 interfaces with the above TA.
Have a TPM driver that interfaces with /dev/tpm0 and talks to /dev/tee0
in the backend.
Am trying to add /dev/tpm0 through qemu-system-aarch64 command line
arguments like below:
-device tpm-tis,tpmdev=tpm0
I see the following error:
qemu-system-aarch64: -device tpm-tis,tpmdev=tpm0: 'tpm-tis' is not a
valid device model name
What is the right way to add an emulated TPM device on qemu-system-aarch64?
For qemu-system-x86_64 I have seen TPM device emulated through socket
application and added as given below:
-chardev socket,id=chrtpm,path=/tmp/mytpm1/swtpm-sock \
-tpmdev emulator,id=tpm0,chardev=chrtpm \
-device tpm-tis,tpmdev=tpm0
https://github.com/qemu/qemu/blob/master/docs/specs/tpm.txt
Thanks,
-lakshmi
- [Qemu-arm] Adding /dev/tpm0 to qemu-system-aarch64,
Lakshmi Ramasubramanian <=