mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
clh: tdx: Update timeouts for confidential guest
Booting up TDX takes more time than booting up a normal VM. Those values are being already used as part of the CCv0 branch, and we're just bringing them to the `main` branch as well. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
3b76abb366
commit
f478b9115e
@ -73,12 +73,12 @@ const (
|
|||||||
// Values based on:
|
// Values based on:
|
||||||
clhTimeout = 10
|
clhTimeout = 10
|
||||||
clhAPITimeout = 1
|
clhAPITimeout = 1
|
||||||
clhAPITimeoutConfidentialGuest = 10
|
clhAPITimeoutConfidentialGuest = 20
|
||||||
// Timeout for hot-plug - hotplug devices can take more time, than usual API calls
|
// Timeout for hot-plug - hotplug devices can take more time, than usual API calls
|
||||||
// Use longer time timeout for it.
|
// Use longer time timeout for it.
|
||||||
clhHotPlugAPITimeout = 5
|
clhHotPlugAPITimeout = 5
|
||||||
clhStopSandboxTimeout = 3
|
clhStopSandboxTimeout = 3
|
||||||
clhStopSandboxTimeoutConfidentialGuest = 5
|
clhStopSandboxTimeoutConfidentialGuest = 10
|
||||||
clhSocket = "clh.sock"
|
clhSocket = "clh.sock"
|
||||||
clhAPISocket = "clh-api.sock"
|
clhAPISocket = "clh-api.sock"
|
||||||
virtioFsSocket = "virtiofsd.sock"
|
virtioFsSocket = "virtiofsd.sock"
|
||||||
|
Loading…
Reference in New Issue
Block a user