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>
Showing
- backends/tpm.c 3 additions, 3 deletionsbackends/tpm.c
- hw/tpm/tpm_emulator.c 15 additions, 14 deletionshw/tpm/tpm_emulator.c
- hw/tpm/tpm_int.h 1 addition, 0 deletionshw/tpm/tpm_int.h
- hw/tpm/tpm_passthrough.c 5 additions, 19 deletionshw/tpm/tpm_passthrough.c
- hw/tpm/tpm_tis.c 13 additions, 5 deletionshw/tpm/tpm_tis.c
- include/sysemu/tpm_backend.h 13 additions, 3 deletionsinclude/sysemu/tpm_backend.h
Loading
Please register or sign in to comment