From 9de755334df97e7d9a86b05b4cb25aa67fbdc1e2 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Thu, 20 Feb 2020 11:45:47 +0100 Subject: [PATCH] vmm: openapi: Update DiskConfig It's missing a few knobs (readonly, vhost, wce) that should be exposed through the rest API. Fixes: #790 Signed-off-by: Samuel Ortiz --- vmm/src/api/openapi/cloud-hypervisor.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index c9a1192a0..626274006 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -274,6 +274,9 @@ components: properties: path: type: string + readonly: + type: boolean + default: true iommu: type: boolean default: false @@ -283,6 +286,14 @@ components: queue_size: type: integer default: 128 + vhost_user: + type: boolean + default: false + vhost_socket: + type: string + wce: + type: boolean + default: false NetConfig: type: object