v1

latestOpenAPI 3.0.1Apache 2.02026-07-17304456.7 KB

Add a new pmem device to the VM

put/vm.add-pmem

Request body

filestring required
sizeinteger
iommuboolean
discard_writesboolean
pci_segmentinteger
idstring

Example request

{
  "pci_segment": 3,
  "file": "file",
  "size": 3,
  "iommu": false,
  "id": "id",
  "discard_writes": false
}

Response

The new device was successfully added to the VM instance.

idstring required
bdfstring required

Example response

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