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

Having the virtual IOMMU created with --iommu is one thing, but we also
need a way to decide if a virtio-net 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-02 14:13:44 -07:00
committed by Samuel Ortiz
parent 4b8d7e718d
commit 20c4ed829a
3 changed files with 23 additions and 3 deletions

View File

@@ -244,6 +244,9 @@ components:
type: string
mac:
type: string
iommu:
type: boolean
default: false
RngConfig:
required: