mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm/api: Add vm.add-fs route
Currently unimplemented. Once implemented, this API will allow for creating virtio-fs devices in the VM after it has booted. Signed-off-by: Dean Sheather <dean@coder.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
d35e775ed9
commit
bb2139a408
@@ -187,6 +187,22 @@ paths:
|
||||
500:
|
||||
description: The new disk could not be added to the VM instance.
|
||||
|
||||
/vm.add-fs:
|
||||
put:
|
||||
summary: Add a new virtio-fs device to the VM
|
||||
requestBody:
|
||||
description: The details of the new virtio-fs
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/FsConfig'
|
||||
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.
|
||||
|
||||
/vm.add-pmem:
|
||||
put:
|
||||
summary: Add a new pmem device to the VM
|
||||
|
||||
Reference in New Issue
Block a user