MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / qemu_runtime_dir

Function qemu_runtime_dir

crates/openshell-driver-vm/src/runtime.rs:910–916  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

908}
909
910fn 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")]
919fn configure_runtime_loader_env(runtime_dir: &Path) -> Result<(), String> {

Callers 1

run_qemu_vmFunction · 0.85

Calls 1

configured_runtime_dirFunction · 0.85

Tested by

no test coverage detected