pub enum WatchdogKillReason {
Tier1CpuBudget,
Tier2IdleWedge,
Tier3Deadman,
ApKill,
AttachCancelUnacknowledged,
AttachMonitorUnavailable,
AttachFinishUnsettled,
ReadinessWaitFailed,
}Expand description
Which watchdog rule (if any) killed the VM — the public mirror of
the watchdog-internal freeze_coord::KillReasonTag, rendered as
cause= in the deadline-expired stderr dump. None on
VmResult::watchdog_kill_reason means no watchdog kill was
recorded (clean exit, crash, or a timeout path that never stamped a
reason).
The variant IS the mechanism assertion e2e fixtures need: a wedge-injection fixture proves its tier by matching the reason, which stays correct at ANY host dilation — unlike a wall-time bound, which conflates detection latency with host CPU share (an observed arm64 cell proved Tier-1 firing exactly on its 12 s CPU budget while taking 83 s of wall at ~14% share).
Variants§
Tier1CpuBudget
Tier-1: max per-vCPU CPU burned past the phase budget with no milestone — a spinning wedge.
Tier2IdleWedge
Tier-2: wall past the phase backstop with live evidence channels and no runnable demand — a silent idle wedge.
Tier3Deadman
Tier-3: the hard deadline expired and the deadman was not deferred (monitor dead, cell inert past the grace, or the current phase exhausted the effective-deadline busiest-vCPU CPU budget).
ApKill
An AP set the kill flag (panic-driven), not a watchdog expiry.
AttachCancelUnacknowledged
A scheduler attach consumed its host-measured service budget, then failed to acknowledge the host’s generation-tagged cancellation within the fail-closed grace.
The host monitor became terminal or was unavailable while a scheduler attach attempt still owned the lifecycle watchdog.
AttachFinishUnsettled
The guest published scheduler-attach Finished but consumed the
delivered-service grace without completing the FinishedAck/Settled
rendezvous.
ReadinessWaitFailed
A finite guest prerequisite consumed its delivered-service budget, or the host sensor needed to account that budget became terminal.
Trait Implementations§
Source§impl Clone for WatchdogKillReason
impl Clone for WatchdogKillReason
Source§fn clone(&self) -> WatchdogKillReason
fn clone(&self) -> WatchdogKillReason
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WatchdogKillReason
impl Debug for WatchdogKillReason
Source§impl PartialEq for WatchdogKillReason
impl PartialEq for WatchdogKillReason
impl Copy for WatchdogKillReason
impl Eq for WatchdogKillReason
impl StructuralPartialEq for WatchdogKillReason
Auto Trait Implementations§
impl Freeze for WatchdogKillReason
impl RefUnwindSafe for WatchdogKillReason
impl Send for WatchdogKillReason
impl Sync for WatchdogKillReason
impl Unpin for WatchdogKillReason
impl UnwindSafe for WatchdogKillReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more