From 7461b2034962d65a4062da762fd25108d858dac9 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Thu, 29 Oct 2026 22:45:13 +0100 Subject: [PATCH] refactor(krun): remove the unused kvm_available probe No caller: the CLI probes through kvm_probe, which reports the failure mode instead of a boolean. --- crates/ecrou/src/krun.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/ecrou/src/krun.rs b/crates/ecrou/src/krun.rs index 5a7f21f..ef0853b 100644 --- a/crates/ecrou/src/krun.rs +++ b/crates/ecrou/src/krun.rs @@ -324,11 +324,6 @@ pub fn kvm_probe() -> Result<()> { Ok(()) } -/// True when a KVM probe passes; `ecrou probe` and tests use this. -pub fn kvm_available() -> bool { - kvm_probe().is_ok() -} - #[cfg(test)] mod tests { use super::*;