cloud-hypervisor/tpm/src
Praveen K Paladugu 1143d54ee0 tpm: Add recv timeout while running recvmsg
If swtpm becomes unresponsive, guest gets blocked at "recvmsg" on tpm's
data FD. This change adds a timeout to the data fd socket. If swtpm
becomes unresponsive guest waits for "timeout" (secs) and continues to
run after returning an I/O error to tpm commands.

Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com>
2023-02-10 17:49:03 +01:00
..
emulator.rs tpm: Add recv timeout while running recvmsg 2023-02-10 17:49:03 +01:00
lib.rs tpm: be more consistent when converting responses 2023-01-31 18:09:28 +00:00
socket.rs tpm: save almost 8KB stack space 2023-01-31 18:09:28 +00:00