tpm: extend TPM TIS with state migration support
commit9ec08c485e3f97d26dd47868582c1ae1b959c182
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 11 Oct 2017 14:36:53 +0000 (11 10:36 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 24 May 2018 16:07:04 +0000 (24 12:07 -0400)
treeba871734e7817cd6744df23e7aa4a9dbb83fd4c5
parent38ab74e7ca6961f019d771c9500df2ab340693fa
tpm: extend TPM TIS with state migration support

Extend the TPM TIS interface with state migration support.

We need to synchronize with the backend thread to make sure that a command
being processed by the external TPM emulator has completed and its
response been received.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
hw/tpm/tpm_tis.c
hw/tpm/trace-events