Skip to main content

vm_endpoint

Function vm_endpoint 

Source
pub fn vm_endpoint(vm_dir: &Path, name: &str) -> String
Expand description

Transport address for name scoped to vm_dir. Unix: socket file in a per-VM subdir of runtime_dir (private, short, never NFS home — only the dir stem travels, so deep checkouts can’t breach sun_path). Windows: bare pipe base name (flat \\.\pipe\ namespace; qemu_arg adds the prefix for QEMU’s pipe: chardev).