Skip to main content

cpu_profile_admission_refusal

Function cpu_profile_admission_refusal 

Source
pub fn cpu_profile_admission_refusal(cfg: &Config) -> Option<&'static str>
Expand description

Why a CPU profile configuration cannot run at all, or None. Host mode requires CPUID and time virtualization; Detcore answers a v3 guest from the qualified host’s facts, so a configuration without them is refused rather than given a guessed leaf 0xD. Whether those facts came from a real qualification is Hermit’s to check, at its launch functions (cpu_profile_admission::refuse_unadmitted_launch), before any backend starts (https://github.com/rrnewton/hermit/issues/4243).