Skip to main content

run_completion

Function run_completion 

Source
pub fn run_completion(
    vcpu_id: u64,
) -> Option<(bool, bool, Option<Result<(), RunError>>)>
Expand description

Diagnostic state of the last RUN of a vCPU.

Returns (done, in_flight, result). The result is Some as soon as the vCPU task published the outcome of the run, so a caller that observes a missing exit can distinguish “the run failed” from “the task never ran”: without it the only visible symptom is a timeout.