mirror of
https://github.com/vhaudiquet/ecrou.git
synced 2026-11-12 22:22:44 +00:00
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.
This commit is contained in:
1 parent
006fce632b
commit
7461b20349
1 file changed
-5
@@ -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::*;
|
||||
|
||||
Reference in new issue
Block a user