Skip to main content

RUN_TIMEOUT_NS

Constant RUN_TIMEOUT_NS 

Source
const RUN_TIMEOUT_NS: u64 = 10_000_000_000;
Expand description

Timeout applied to one SYS_VMM_RUN (10 s).

A guest that never reaches a policy exit (stuck vCPU task, pathological exit loop) must not block the caller forever: RUN returns SyscallError::TimedOut after this budget. The vCPU may still be busy at that point, so the caller must destroy the world rather than retry; the kernel logs the vCPU task state to help diagnose the defect.