summaryrefslogtreecommitdiffstats
path: root/hw/i386/acpi-build.c
diff options
context:
space:
mode:
authorMarc-André Lureau2017-11-06 19:39:15 +0100
committerStefan Berger2017-12-15 05:39:14 +0100
commit3dfd5a2a50fc4907728eb83569c84b0d98b56582 (patch)
tree5dcf1dfc3bdba85f8e19686849176e3dddaa8651 /hw/i386/acpi-build.c
parenttpm: rename qemu_find_tpm() -> qemu_find_tpm_be() (diff)
downloadqemu-3dfd5a2a50fc4907728eb83569c84b0d98b56582.tar.gz
qemu-3dfd5a2a50fc4907728eb83569c84b0d98b56582.tar.xz
qemu-3dfd5a2a50fc4907728eb83569c84b0d98b56582.zip
tpm: lookup the the TPM interface instead of TIS device
This will allow to introduce new devices implementing TPM. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'hw/i386/acpi-build.c')
-rw-r--r--hw/i386/acpi-build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 73519ab3ac..cdb4aa9835 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -208,7 +208,7 @@ static void acpi_get_misc_info(AcpiMiscInfo *info)
}
info->has_hpet = hpet_find();
- info->tpm_version = tpm_get_version();
+ info->tpm_version = tpm_get_version(tpm_find());
info->pvpanic_port = pvpanic_port();
info->applesmc_io_base = applesmc_port();
}