Skip to content

Commit 57499f2

Browse files
SumynwaRedent0r
authored andcommitted
runtime: relax timeout for CreateVM + BootVM in CLH
This commit introduces changes merged in upstream PR 9153 of relaxing the timeout for calling CLH's CreateVM+BootVM APIs. Further, the commit increases the timeout to 100s to handle guest boot with large memory requests. Signed-off-by: Sumedh Alok Sharma <[email protected]>
1 parent 432d74d commit 57499f2

File tree

1 file changed

+1
-1
lines changed
  • src/runtime/virtcontainers

1 file changed

+1
-1
lines changed

src/runtime/virtcontainers/clh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const (
7777
clhAPITimeoutConfidentialGuest = 20
7878
// Minimum timout for calling CreateVM followed by BootVM. Executing these two APIs
7979
// might take longer than the value returned by getClhAPITimeout().
80-
clhCreateAndBootVMMinimumTimeout = 10
80+
clhCreateAndBootVMMinimumTimeout = 100
8181
// Timeout for hot-plug - hotplug devices can take more time, than usual API calls
8282
// Use longer time timeout for it.
8383
clhHotPlugAPITimeout = 5

0 commit comments

Comments
 (0)