Skip to main content

Module vsock

Module vsock 

Source
Expand description

/vsock PUT body.

Per 21-api-compat-matrix.md /vsock PUT:

  • guest_cid — minimum 3 (CIDs 0–2 reserved by the spec).
  • uds_pathUdsPath (103-byte cap on Darwin).
  • tsi — squib extension; opt-in TSI mode (default false).
  • vsock_id — Firecracker still accepts this for back-compat though it’s ignored at runtime; we accept and validate via VsockId.

Structs§

RawVsockConfig
Raw /vsock PUT body off the wire.
VsockConfig
Validated /vsock PUT body.

Constants§

MIN_GUEST_CID
Lowest legal guest_cid (0 = HV, 1 = local, 2 = host — all reserved).