tpm-be: call request_completed() out of thread
Lift from the backend implementation the responsability to call the request_completed() callback outside of thread context. This also simplify frontend/interface work, as they no longer need to care whether the callback is called from a different thread. 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 14 additions, 1 deletionbackends/tpm.c
- hw/tpm/tpm_emulator.c 0 additions, 2 deletionshw/tpm/tpm_emulator.c
- hw/tpm/tpm_passthrough.c 0 additions, 3 deletionshw/tpm/tpm_passthrough.c
- hw/tpm/tpm_tis.c 12 additions, 22 deletionshw/tpm/tpm_tis.c
- include/sysemu/tpm.h 0 additions, 1 deletioninclude/sysemu/tpm.h
- include/sysemu/tpm_backend.h 1 addition, 0 deletionsinclude/sysemu/tpm_backend.h
Loading
Please register or sign in to comment