]> git.proxmox.com Git - mirror_qemu.git/commit - hw/tpm/tpm_tis.c
tpm: add TPMBackendCmd to hold the request state
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 9 Oct 2017 22:55:55 +0000 (00:55 +0200)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 19 Oct 2017 15:42:28 +0000 (11:42 -0400)
commit0e43b7e61ce677e154584523943c1651779baccf
treeeeabafb7cfd3f4329350731663ad9ffca20b0c55
parentd1fd6b563d44a1132f8a5758f8f7bafba548502c
tpm: add TPMBackendCmd to hold the request state

This simplifies a bit locality handling, and argument passing, and
could pave the way to queuing requests (if that makes sense).

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>
backends/tpm.c
hw/tpm/tpm_emulator.c
hw/tpm/tpm_int.h
hw/tpm/tpm_passthrough.c
hw/tpm/tpm_tis.c
include/sysemu/tpm_backend.h