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

Function run_vm

crates/openshell-driver-vm/src/runtime.rs:70–75  ·  view source on GitHub ↗
(config: &VmLaunchConfig)

Source from the content-addressed store, hash-verified

68}
69
70pub fn run_vm(config: &VmLaunchConfig) -> Result<(), String> {
71 match config.backend {
72 VmBackend::Qemu => run_qemu_vm(config),
73 VmBackend::Libkrun => run_libkrun_vm(config),
74 }
75}
76
77fn run_qemu_vm(config: &VmLaunchConfig) -> Result<(), String> {
78 let gpu_bdf = config

Callers 1

mainFunction · 0.85

Calls 2

run_qemu_vmFunction · 0.85
run_libkrun_vmFunction · 0.85

Tested by

no test coverage detected