Skip to content

Commit 5586d27

Browse files
Sumynwams-mahuber
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 <sumsharma@microsoft.com>
1 parent cf7d65a commit 5586d27

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)