From 1f9bc68c5496cd9fb2d1e7dde1baa00e2d692c25 Mon Sep 17 00:00:00 2001 From: Damjan Georgievski Date: Sun, 15 Mar 2020 18:52:33 +0100 Subject: [PATCH] openapi: Add initramfs support added InitramfsConfig property to the REST API spec Signed-off-by: Damjan Georgievski --- vmm/src/api/openapi/cloud-hypervisor.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index e9b3fae70..c16e05a5b 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -256,6 +256,8 @@ components: $ref: '#/components/schemas/MemoryConfig' kernel: $ref: '#/components/schemas/KernelConfig' + initramfs: + $ref: '#/components/schemas/InitramfsConfig' cmdline: $ref: '#/components/schemas/CmdLineConfig' disks: @@ -337,6 +339,14 @@ components: path: type: string + InitramfsConfig: + required: + - path + type: object + properties: + path: + type: string + CmdLineConfig: required: - args