v1

latestOpenAPI 3.0.1Apache 2.02026-07-17304456.7 KB

Add a new virtio-fs device to the VM

put/vm.add-fs

Request body

tagstring required
socketstring required
num_queuesinteger required
queue_sizeinteger required
pci_segmentinteger
idstring

Example request

{
  "pci_segment": 6,
  "num_queues": 6,
  "queue_size": 5,
  "tag": "tag",
  "socket": "socket",
  "id": "id"
}

Response

The new device was successfully added to the VM instance.

idstring required
bdfstring required

Example response

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