Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
spindle/microvm: bind vsock listeners to the host context explicitly master
vsock.Listen(port, nil) binds the local context ID, which resolves to the loopback context (VMADDR_CID_LOCAL) on kernels with vsock_loopback loaded. a loopback listener only accepts connections from the host itself, so guest agents can never reach any of the four host-side listeners (agent hub, read cache proxy, upload cache proxy, and the spindle-microvm-run dev listener). fedora kernels auto-load vsock_loopback; nixos hosts do not, which is why this only shows up off-nixos. use ListenContextID(vsock.Host, ...) so the listeners always bind the host context (VMADDR_CID_HOST) regardless of which modules are loaded. Signed-off-by: Winter <winter@madoka.systems>
Author Winter Date (Jul 24, 2026, 6:47 PM UTC) Commit 3f8e4964 3f8e4964adfa38b7cf25836b92220871de38bee3 Parent 21847216 218472160aa7ba64015cb64e402521e563d0953f Change ID rkwtssnn rkwtssnntqxxptqrwtqllsortuxurrzx