Messages in this thread | | | Subject | Re: [PATCH v9 2/2] tpm: Add support for event log pointer found in TPM2 ACPI table | From | Stefan Berger <> | Date | Tue, 7 Jul 2020 00:09:11 -0400 |
| |
On 7/7/20 12:03 AM, Jarkko Sakkinen wrote: > On Mon, Jul 06, 2020 at 11:08:12PM -0400, Stefan Berger wrote: >> On 7/6/20 10:24 PM, Jarkko Sakkinen wrote: >>> On Mon, Jul 06, 2020 at 07:55:26PM -0400, Stefan Berger wrote: >>>> On 7/6/20 7:09 PM, Jarkko Sakkinen wrote: >>>>> On Mon, Jul 06, 2020 at 02:19:53PM -0400, Stefan Berger wrote: >>>>>> From: Stefan Berger <stefanb@linux.ibm.com> >>>>>> >>>>>> In case a TPM2 is attached, search for a TPM2 ACPI table when trying >>>>>> to get the event log from ACPI. If one is found, use it to get the >>>>>> start and length of the log area. This allows non-UEFI systems, such >>>>>> as SeaBIOS, to pass an event log when using a TPM2. >>>>>> >>>>>> Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> >>>>> Do you think that QEMU with TPM 1.2 emulator turned on would be a viable >>>>> way to test this? >>>> Yes. >>> Is the emulator bundled with QEMU or does it have to be installed >>> separately? >> It has to be installed separately. On Fedora 31 it would just be a `sudo dnf >> -y install swtpm-tools` and you should be good to go with libvirt / >> virt-manager. > Is there some packaging for Debian/Ubuntu available?
So far may not be available yet. I had *experimented* with a PPA once: https://launchpad.net/~stefanberger/+archive/ubuntu/swtpm-focal
> /Jarkko
| |