]> git.proxmox.com Git - mirror_qemu.git/commit - backends/tpm/tpm_passthrough.c
tpm: Support for TIS selftest done flag
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Mon, 23 Feb 2015 14:27:19 +0000 (09:27 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 1 Mar 2015 11:33:21 +0000 (12:33 +0100)
commitfd859081453f94c3cbd6527289e41b7fddbf645f
tree9d050f20d306a1c833721f54f0715815dd0cafb9
parent2eae8c7516a99c1309199df8d88c0f0749fce2cb
tpm: Support for TIS selftest done flag

Extend the backend to check whether the TPM_ContinueSelfTest
finished successfully and provide a flag to the TIS front-end
if it successfully finished. The TIS then sets a flag in
all localities in the STS register and keeps it until the next
reset.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/tpm/tpm_int.h
hw/tpm/tpm_passthrough.c
hw/tpm/tpm_tis.c
include/sysemu/tpm_backend.h