Skip to content

Commit 10d1f4a

Browse files
kzysalxiord
authored andcommitted
vmm: relax resume_vcpus's timeout
Starting 100 VMs on a EC2 m5d.metal host sometimes didn't work due to the timeout. Fixes #1555. Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent ab44474 commit 10d1f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vmm/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ impl Vmm {
947947
for handle in self.vcpus_handles.iter() {
948948
match handle
949949
.response_receiver()
950-
.recv_timeout(Duration::from_millis(100))
950+
.recv_timeout(Duration::from_millis(1000))
951951
{
952952
Ok(VcpuResponse::Resumed) => (),
953953
_ => return Err(StartMicrovmError::VcpuResume),

0 commit comments

Comments
 (0)