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

Method default

crates/openshell-driver-vm/src/driver.rs:242–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240
241impl Default for VmDriverConfig {
242 fn default() -> Self {
243 Self {
244 openshell_endpoint: String::new(),
245 state_dir: PathBuf::from("target/openshell-vm-driver"),
246 launcher_bin: None,
247 default_image: String::new(),
248 bootstrap_image: String::new(),
249 log_level: "info".to_string(),
250 krun_log_level: 1,
251 vcpus: DEFAULT_VCPUS,
252 mem_mib: DEFAULT_MEM_MIB,
253 overlay_disk_mib: DEFAULT_OVERLAY_DISK_MIB,
254 guest_tls_ca: None,
255 guest_tls_cert: None,
256 guest_tls_key: None,
257 gpu_enabled: false,
258 gpu_mem_mib: 8192,
259 gpu_vcpus: 4,
260 sandbox_uid: None,
261 sandbox_gid: None,
262 }
263 }
264}
265
266impl VmDriverConfig {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected