mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-07-07 18:25:44 +00:00
openapi: Add "vm.add-pmem" entry point
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
f6f4c68fb4
commit
75878dd90a
@ -187,6 +187,22 @@ paths:
|
|||||||
500:
|
500:
|
||||||
description: The new disk could not be added to the VM instance.
|
description: The new disk could not be added to the VM instance.
|
||||||
|
|
||||||
|
/vm.add-pmem:
|
||||||
|
put:
|
||||||
|
summary: Add a new pmem device to the VM
|
||||||
|
requestBody:
|
||||||
|
description: The details of the new pmem device
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/PmemConfig'
|
||||||
|
required: true
|
||||||
|
responses:
|
||||||
|
204:
|
||||||
|
description: The new device was successfully added to the VM instance.
|
||||||
|
500:
|
||||||
|
description: The new device could not be added to the VM instance.
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user