vmm: Add iommu=on|off option for --pmem

Having the virtual IOMMU created with --iommu is one thing, but we also
need a way to decide if a virtio-pmem device should be attached to this
virtual IOMMU or not. That's why we introduce an extra option "iommu"
with the value "on" or "off". By default, the device is not attached,
which means "iommu=off".

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2019-10-04 11:27:22 -07:00
committed by Samuel Ortiz
parent fb4769388b
commit 63869bde75
3 changed files with 15 additions and 2 deletions

View File

@@ -289,6 +289,9 @@ components:
type: string
size:
type: integer
iommu:
type: boolean
default: false
ConsoleConfig:
required: