summary refs log tree commit diff stats
path: root/stubs/tpm.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-07-25 20:30:58 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-07-25 20:30:58 +0100
commit57cdde4a74dd0d68df9e32657773484a5484a027 (patch)
tree41c8509a75cbe6e9223d128235d145a18da0976a /stubs/tpm.c
parentb0ce3f021e0157e9a5ab836cb162c48caac132e1 (diff)
parent88f830745721ba8c9e9d2831c01045a6f130c1a6 (diff)
downloadfocaccia-qemu-57cdde4a74dd0d68df9e32657773484a5484a027.tar.gz
focaccia-qemu-57cdde4a74dd0d68df9e32657773484a5484a027.zip
Merge remote-tracking branch 'remotes/stefanberger/tags/pull-tpm-2020-07-24-1' into staging
Merge tpm 2020/07/24 v1

# gpg: Signature made Sat 25 Jul 2020 01:13:22 BST
# gpg:                using RSA key B818B9CADF9089C2D5CEC66B75AD65802A0B4211
# gpg: Good signature from "Stefan Berger <stefanb@linux.vnet.ibm.com>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: B818 B9CA DF90 89C2 D5CE  C66B 75AD 6580 2A0B 4211

* remotes/stefanberger/tags/pull-tpm-2020-07-24-1:
  tpm_emulator: Report an error if chardev is missing
  tpm: Improve help on TPM types when none are available
  Revert "tpm: Clean up error reporting in tpm_init_tpmdev()"

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'stubs/tpm.c')
-rw-r--r--stubs/tpm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stubs/tpm.c b/stubs/tpm.c
index 66c99d667d..9bded191d9 100644
--- a/stubs/tpm.c
+++ b/stubs/tpm.c
@@ -10,8 +10,9 @@
 #include "sysemu/tpm.h"
 #include "hw/acpi/tpm.h"
 
-void tpm_init(void)
+int tpm_init(void)
 {
+    return 0;
 }
 
 void tpm_cleanup(void)