cloud-hypervisor/vmm
Sebastien Boeuf efba48dddb vmm: Don't put a VFIO device behind the vIOMMU by default
With some of the factorization that happened to be able to support VFIO
hotplug, one mistake was made. In case a vIOMMU is created through a
virtio-iommu device, and no matter the "iommu" option value from the
VFIO device parameter, the VFIO device was always placed behind the
virtual IOMMU.

This commit fixes this wrong behavior by making sure the device
configuration is taken into account to decide if it should be attached
or not to the virtual IOMMU.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2020-03-11 19:50:31 +01:00
..
src vmm: Don't put a VFIO device behind the vIOMMU by default 2020-03-11 19:50:31 +01:00
Cargo.toml vmm: Switch to the micro-http package 2020-03-11 17:38:01 +01:00