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

Function configured_runtime_dir

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

Source from the content-addressed store, hash-verified

901}
902
903pub fn configured_runtime_dir() -> Result<PathBuf, String> {
904 if let Some(path) = std::env::var_os(VM_RUNTIME_DIR_ENV) {
905 return Ok(PathBuf::from(path));
906 }
907 embedded_runtime::ensure_runtime_extracted()
908}
909
910fn qemu_runtime_dir() -> Result<PathBuf, String> {
911 configured_runtime_dir().map_err(|_| {

Callers 3

run_libkrun_vmFunction · 0.85
qemu_runtime_dirFunction · 0.85

Calls 1

ensure_runtime_extractedFunction · 0.85

Tested by

no test coverage detected