libxl TPM emulator support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | libacpi: Build TPM2 tables for the TIS interfacetools/ tools/ tools/ +2 more | +66 | 3 replies | |
| 2/4 | hvmloader: Support the TIS interface for TPM 2.0docs/ tools/ | +22 | 1 reply | |
| 3/4 | tools/libxl: add emulated TPM support backed by swtpmdocs/ tools/ tools/ +9 more | +380 | 1 reply | |
| 4/4 | libxl: Add emulated TPM support on ARMdocs/ tools/ tools/ +4 more | +89 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Nick Rosbrook | Jan Beulich |
|---|---|---|
| 1/4 | ||
| 2/4 | A-b | |
| 3/4 | A-b | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] libxl TPM emulator support
This patch series adds support to libxl for QEMU to emulate a TPM with swtpm as a backend.
It reworks some ARM TPM support from Stefano to use the auto-started swtpm.
Since ARM uses the TIS interface, I expanded x86 to use either TIS or CRB for TPM 2.0.
On Ubuntu 22.04 (and probably others), swtpm has an AppArmor policy that restricts access to specific paths. Those don't include /var/run/xen. I disabled AppArmor with sudo aa-complain swtpm.
Jason Andryuk (3):
libacpi: Build TPM2 tables for the TIS interface
hvmloader: Support the TIS interface for TPM 2.0 tools/libxl: add emulated TPM support backed by swtpm
Stefano Stabellini (1):
libxl: Add emulated TPM support on ARM
docs/man/xl.cfg.5.pod.in | 42 +++++++ docs/misc/xenstore-paths.pandoc | 12 +- tools/firmware/hvmloader/util.c | 12 +- tools/golang/xenlight/gengotypes.py | 2 +- tools/golang/xenlight/helpers.gen.go | 48 ++++++++ tools/golang/xenlight/types.gen.go | 17 +++ tools/include/libxl.h | 11 ++ tools/libacpi/Makefile | 2 +- tools/libacpi/acpi2_0.h | 1 + tools/libacpi/build.c | 47 +++++-- tools/libacpi/libacpi.h | 4 + tools/libacpi/ssdt_tpm2_tis.asl | 25 ++++ tools/libs/light/libxl_arch.h | 6 + tools/libs/light/libxl_arm.c | 47 +++++++ tools/libs/light/libxl_create.c | 46 ++++++- tools/libs/light/libxl_dm.c | 175 ++++++++++++++++++++++++++- tools/libs/light/libxl_domain.c | 3 + tools/libs/light/libxl_internal.h | 4 + tools/libs/light/libxl_types.idl | 17 +++ tools/libs/light/libxl_x86.c | 24 ++++ tools/xl/xl_parse.c | 20 +++ xen/include/public/arch-arm.h | 4 + 22 files changed, 551 insertions(+), 18 deletions(-) create mode 100644 tools/libacpi/ssdt_tpm2_tis.asl
Signature · 1 line
2.34.1