mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
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>
This commit is contained in:
parent
d36e7db1fb
commit
3dfd5a2a50
2 changed files with 16 additions and 11 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue