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

Method add_vsock

crates/openshell-driver-vm/src/runtime.rs:1101–1106  ·  view source on GitHub ↗
(&self, tsi_features: u32)

Source from the content-addressed store, hash-verified

1099 }
1100
1101 fn add_vsock(&self, tsi_features: u32) -> Result<(), String> {
1102 check(
1103 unsafe { (self.krun.krun_add_vsock)(self.ctx_id, tsi_features) },
1104 "krun_add_vsock",
1105 )
1106 }
1107
1108 #[cfg(target_os = "macos")]
1109 fn add_net_unixgram(

Callers 1

run_libkrun_vmFunction · 0.80

Calls 1

checkFunction · 0.85

Tested by

no test coverage detected