From d6e6901957ee1068cea78b7588c0d7826350305e Mon Sep 17 00:00:00 2001 From: Bin Liu Date: Tue, 3 Mar 2020 14:59:51 +0800 Subject: [PATCH] vmm/api: Fix vm.info response definition Update cloud-hypervisor.yaml with latest code. Fixes: #841 Signed-off-by: liubin --- vmm/src/api/openapi/cloud-hypervisor.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index 39ebb9464..b04a9ce39 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -161,7 +161,7 @@ components: $ref: '#/components/schemas/VmConfig' state: type: string - enum: [Created, Booted, Shutdown] + enum: [Created, Running, Shutdown, Paused] description: Virtual Machine information VmConfig: @@ -385,7 +385,7 @@ components: type: string mode: type: string - enum: [Off, Tty, File, None] + enum: [Off, Tty, File, Null] iommu: type: boolean default: false