INNER CODE UNIT · Rust

start_dataplane

Augani/dory · dory-core/ffi/src/lib.rs:165

pub fn start_dataplane(
    listen_fd: i32,
    dockerd_socket_path: String,
    gpu_supported: bool,
) -> std::sync::Arc<DoryDataplane> {
    spawn_dataplane(
        listen_fd,
        std::sync::Arc::new(dory_dataplane::UnixBackend {
            path: dockerd_socket_path.into(),
            retry_for: None,
        }),
        gpu_supported,
        None,
    )
}

/// Plain unix `dockerd` backend with doryd-side activity reporting. This is used by the macOS 14
/// VZ fallback: the first meaningful Docker request wakes `dory-vmm`, while the backend retries

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…