cloud-hypervisor/vmm/src
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
..
api vmm: Add id option to VFIO hotplug 2020-03-11 19:50:31 +01:00
acpi.rs vmm: Move DeviceManager into an Arc<Mutex<>> 2020-02-27 11:12:31 +01:00
config.rs vmm: Add id field to --device through CLI 2020-03-11 13:10:57 +00:00
cpu.rs vmm: Remove all Weak references from DeviceManager 2020-03-04 18:46:44 +01:00
device_manager.rs vmm: Don't put a VFIO device behind the vIOMMU by default 2020-03-11 19:50:31 +01:00
interrupt.rs msi/msi-x: Prevent from losing masked interrupts 2020-02-25 08:31:14 +00:00
lib.rs vmm: Add id option to VFIO hotplug 2020-03-11 19:50:31 +01:00
memory_manager.rs vmm: Move codebase to GuestMemoryAtomic from vm-memory 2020-02-19 13:48:19 +00:00
vm.rs vmm: Add id option to VFIO hotplug 2020-03-11 19:50:31 +01:00