Hello! The patches in this PR eliminate all TPM related code if CONFIG_TPM is not set, thus reducing code size.
Regards, Stefan The following changes since commit 1ea06abceec61b6f3ab33dadb0510b6e09fb61e2: Merge remote-tracking branch 'remotes/berrange-gitlab/tags/misc-fixes-pull-request' into staging (2021-06-14 15:59:13 +0100) are available in the Git repository at: git://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2021-06-15-1 for you to fetch changes up to caff255a546d12530cf7c28e60690cd0e65851fd: tpm: Return QMP error when TPM is disabled in build (2021-06-15 10:59:02 -0400) ---------------------------------------------------------------- Philippe Mathieu-Daudé (1): tpm: Return QMP error when TPM is disabled in build Stefan Berger (4): i386: Eliminate all TPM related code if CONFIG_TPM is not set arm: Eliminate all TPM related code if CONFIG_TPM is not set acpi: Eliminate all TPM related code if CONFIG_TPM is not set sysemu: Make TPM structures inaccessible if CONFIG_TPM is not defined MAINTAINERS | 1 - hw/acpi/aml-build.c | 2 ++ hw/arm/sysbus-fdt.c | 4 ++++ hw/arm/virt-acpi-build.c | 6 ++++++ hw/arm/virt.c | 2 ++ hw/i386/acpi-build.c | 20 ++++++++++++++++++ include/hw/acpi/tpm.h | 4 ++++ include/sysemu/tpm.h | 9 +++++++++ include/sysemu/tpm_backend.h | 6 +++++- monitor/hmp-cmds.c | 4 ++++ qapi/tpm.json | 28 +++++++++++++++++--------- stubs/meson.build | 1 - stubs/tpm.c | 39 ------------------------------------ 13 files changed, 75 insertions(+), 51 deletions(-) delete mode 100644 stubs/tpm.c -- 2.31.1