Skip to main content

VFS_9P_VSOCK_PORT

Constant VFS_9P_VSOCK_PORT 

Source
pub const VFS_9P_VSOCK_PORT: u32 = 564;
Expand description

Guest vsock port the tenant-VFS 9P server listens on — the port an in-guest 9P client (V3, #732) dials to reach the host VFS over native 9P.

564 is the IANA-registered port for the Plan 9 file service (9P); reusing it as the vsock port keeps “9P lives on 564” true across transports and makes the channel self-documenting. It is deliberately distinct from the kata-agent’s ttrpc port 1024 (KATA_AGENT_VSOCK_PORT), so the two vsock channels never collide.