Defines a vsock device, backed by a set of Unix Domain Sockets, on the host side. For host-initiated connections, Firecracker will be listening on the Unix socket identified by the path `uds_path`. Firecracker will create this socket, bind and listen on it. Host-initiated connections will be performed by connection to this socket and issuing a connection forwarding request to the desired guest-side vsock port (i.e. `CONNECT 52\n`, to connect to port 52). For guest-initiated connections, Firecracker will expect host software to be bound and listening on Unix sockets at `uds_path_`. E.g. "/path/to/host_vsock.sock_52" for port number 52.
Amazon Web ServicesContainersMicroVMOpen SourceServerlessVirtualizationKVM
Properties
Name
Type
Description
guest_cid
integer
Guest Vsock CID
uds_path
string
Path to UNIX domain socket, used to proxy vsock connections.
vsock_id
string
This parameter has been deprecated and it will be removed in future Firecracker release.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/firecracker/json-schema/firecracker-vsock-schema.json",
"title": "Vsock",
"description": "Defines a vsock device, backed by a set of Unix Domain Sockets, on the host side. For host-initiated connections, Firecracker will be listening on the Unix socket identified by the path `uds_path`. Firecracker will create this socket, bind and listen on it. Host-initiated connections will be performed by connection to this socket and issuing a connection forwarding request to the desired guest-side vsock port (i.e. `CONNECT 52\\n`, to connect to port 52). For guest-initiated connections, Firecracker will expect host software to be bound and listening on Unix sockets at `uds_path_<PORT>`. E.g. \"/path/to/host_vsock.sock_52\" for port number 52.",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/firecracker-vsock-api-openapi.yml#/components/schemas/Vsock",
"type": "object",
"required": [
"guest_cid",
"uds_path"
],
"properties": {
"guest_cid": {
"type": "integer",
"minimum": 3,
"description": "Guest Vsock CID"
},
"uds_path": {
"type": "string",
"description": "Path to UNIX domain socket, used to proxy vsock connections."
},
"vsock_id": {
"type": "string",
"description": "This parameter has been deprecated and it will be removed in future Firecracker release."
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.