Skip to content

Commit

Permalink
VTPM : Increase swtpm launch timeout to 10 seconds
Browse files Browse the repository at this point in the history
Just in case the swtpm takes a bit longer to start up,
due to the system being busy or TPM being slow to
release the encryption key, increase the timeout
to 10 seconds.

Signed-off-by: Shahriyar Jalayeri <[email protected]>
  • Loading branch information
shjala committed Sep 3, 2024
1 parent b08cc66 commit c5298f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pillar/hypervisor/kvm.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
// KVMHypervisorName is a name of kvm hypervisor
const KVMHypervisorName = "kvm"
const minUringKernelTag = uint64((5 << 16) | (4 << 8) | (72 << 0))
const swtpmTimeout = 5 // seconds
const swtpmTimeout = 10 // seconds

var clientCid = uint32(unix.VMADDR_CID_HOST + 1)

Expand Down

0 comments on commit c5298f1

Please sign in to comment.