mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-25 01:11:16 +00:00
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>
16 lines
278 B
TOML
16 lines
278 B
TOML
[package]
|
|
name = "tpm"
|
|
edition = "2021"
|
|
authors = ["Microsoft Authors"]
|
|
license = "Apache-2.0"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.66"
|
|
byteorder = "1.4.3"
|
|
libc = "0.2.138"
|
|
log = "0.4.17"
|
|
net_gen = { path = "../net_gen" }
|
|
thiserror = "1.0.37"
|
|
vmm-sys-util = "0.11.0"
|