vmm/api: Fix vm.info response definition

Update cloud-hypervisor.yaml with latest code.

Fixes: #841

Signed-off-by: liubin <liubin0329@gmail.com>
This commit is contained in:
Bin Liu 2020-03-03 14:59:51 +08:00 committed by Samuel Ortiz
parent 8f3720089f
commit d6e6901957

View File

@ -161,7 +161,7 @@ components:
$ref: '#/components/schemas/VmConfig' $ref: '#/components/schemas/VmConfig'
state: state:
type: string type: string
enum: [Created, Booted, Shutdown] enum: [Created, Running, Shutdown, Paused]
description: Virtual Machine information description: Virtual Machine information
VmConfig: VmConfig:
@ -385,7 +385,7 @@ components:
type: string type: string
mode: mode:
type: string type: string
enum: [Off, Tty, File, None] enum: [Off, Tty, File, Null]
iommu: iommu:
type: boolean type: boolean
default: false default: false