Skip to main content

run

Function run 

Source
pub fn run(req: ExecRequest) -> Result<i32>
Expand description

Run the request: boot, run, tear down.

Returns the guest command’s exit code. On orchestrator failure (boot, agent unreachable, vsock error), returns an error; the VM is torn down best-effort before returning.