[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] Adding /dev/tpm0 to qemu-system-aarch64
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] Adding /dev/tpm0 to qemu-system-aarch64 |
Date: |
Mon, 16 Sep 2019 18:25:52 +0100 |
On Mon, 16 Sep 2019 at 18:24, Peter Maydell <address@hidden> wrote:
> On Mon, 16 Sep 2019 at 17:31, Lakshmi Ramasubramanian
> <address@hidden> wrote:
> > qemu-system-aarch64: -device tpm-tis,tpmdev=tpm0: 'tpm-tis' is not a
> > valid device model name
>
> This is because QEMU only supports TPM device emulation on x86.
> To add it to aarch64 somebody would have to investigate what the
> hardware interface for TPM ought to be on aarch64 hardware, and
> then implement an emulation of it and add that to the 'virt'
> board. (It would probably share a lot of the implementation with
> the current x86 TPM, obviously.)
Hmm, actually a quick grep suggests we have some TPM support
for PPC as well (via a hypercall interface). The rest of
my answer still stands, though.
thanks
-- PMM