v1

latestOpenAPI 3.0.1Apache 2.02026-07-17304456.7 KB

Add a new vsock device to the VM

put/vm.add-vsock

Request body

cidinteger required

Guest Vsock CID

socketstring required

Path to UNIX domain socket, used to proxy vsock connections.

iommuboolean
pci_segmentinteger
idstring

Example request

{
  "pci_segment": 8,
  "iommu": false,
  "socket": "socket",
  "id": "id",
  "cid": 3
}

Response

The new device was successfully added to the VM instance.

idstring required
bdfstring required

Example response

{
  "bdf": "bdf",
  "id": "id"
}