vmm: Add iommu field to the VmConfig

Adding a simple iommu boolean field to the VmConfig structure so that we
can later use it to create a virtio-iommu device for the current VM.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2019-09-18 07:13:56 -07:00
committed by Samuel Ortiz
parent 03352f45f9
commit 6e0aa56f06
2 changed files with 8 additions and 0 deletions

View File

@@ -176,6 +176,9 @@ components:
$ref: '#/components/schemas/VhostUserBlkConfig'
vsock:
$ref: '#/components/schemas/VsockConfig'
iommu:
type: boolean
default: false
description: Virtual machine configuration
CpuConfig: