diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-11-06 19:39:15 +0100 |
---|---|---|
committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2017-12-14 23:39:14 -0500 |
commit | 3dfd5a2a50fc4907728eb83569c84b0d98b56582 (patch) | |
tree | 5dcf1dfc3bdba85f8e19686849176e3dddaa8651 /hw/i386 | |
parent | d36e7db1fbf1a5cff4aa359dfe5c2e5dd97d3e13 (diff) | |
download | qemu-3dfd5a2a50fc4907728eb83569c84b0d98b56582.zip qemu-3dfd5a2a50fc4907728eb83569c84b0d98b56582.tar.gz qemu-3dfd5a2a50fc4907728eb83569c84b0d98b56582.tar.bz2 |
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')
-rw-r--r-- | hw/i386/acpi-build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 73519ab..cdb4aa9 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(); } |