Skip to main content

NATIVE_EXEC_ANNOTATION

Constant NATIVE_EXEC_ANNOTATION 

Source
pub const NATIVE_EXEC_ANNOTATION: &str = "yah.exec";
Expand description

Annotation key selecting which execution substrate kamaji runs a workload on. Absent (or unrecognised) means a container backend; see NATIVE_EXEC_VALUE and MICROVM_EXEC_VALUE for the two opt-outs.

The name is historical — R577-T1 introduced it for native exec alone — but the key has always been the substrate selector, and R605-F8 added the second alternative rather than a second key. See WorkloadSpec::wants_microvm for why one key matters.