summaryrefslogtreecommitdiffstats
path: root/stubs
diff options
context:
space:
mode:
authorStefan Berger2021-06-15 16:21:17 +0200
committerStefan Berger2021-06-15 16:54:46 +0200
commit11fb99e6f48ca51364e070bb3cd365680edee90c (patch)
tree63a651712b009a76edd266b5eba22c07e3b692b1 /stubs
parentMerge remote-tracking branch 'remotes/berrange-gitlab/tags/misc-fixes-pull-re... (diff)
downloadqemu-11fb99e6f48ca51364e070bb3cd365680edee90c.tar.gz
qemu-11fb99e6f48ca51364e070bb3cd365680edee90c.tar.xz
qemu-11fb99e6f48ca51364e070bb3cd365680edee90c.zip
i386: Eliminate all TPM related code if CONFIG_TPM is not set
Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210614191335.1968807-2-stefanb@linux.ibm.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/tpm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/stubs/tpm.c b/stubs/tpm.c
index 9bded191d9..22014595a0 100644
--- a/stubs/tpm.c
+++ b/stubs/tpm.c
@@ -33,7 +33,3 @@ TpmModelList *qmp_query_tpm_models(Error **errp)
{
return NULL;
}
-
-void tpm_build_ppi_acpi(TPMIf *tpm, Aml *dev)
-{
-}