pub fn resolve_backend_9p_capable(
name: &str,
ctx: &BackendCtx,
) -> Result<Arc<dyn SandboxBackend>>Expand description
Resolve worker.backend to a SandboxBackend that is guaranteed capable
of 9P socket injection (#506), fail-closed.
Identical to resolve_backend but with the capability gate engaged: the
resolved backend always advertises
injects_9p_socket. Use this when
placing a workload (e.g. the Wanix guest) that needs a host UDS injected into
its mount namespace. "auto" picks the highest-priority capable backend;
an explicit name that is incapable errors rather than being swapped for a
capable one.