()
| 908 | } |
| 909 | |
| 910 | fn qemu_runtime_dir() -> Result<PathBuf, String> { |
| 911 | configured_runtime_dir().map_err(|_| { |
| 912 | "QEMU backend requires OPENSHELL_VM_RUNTIME_DIR to be set (pointing to a directory \ |
| 913 | containing vmlinux). Set the env var or run `mise run vm:setup`." |
| 914 | .to_string() |
| 915 | }) |
| 916 | } |
| 917 | |
| 918 | #[cfg(target_os = "macos")] |
| 919 | fn configure_runtime_loader_env(runtime_dir: &Path) -> Result<(), String> { |
no test coverage detected