vmm: Fix virtio-vsock creation with virtual IOMMU

If the virtio-vsock device is supposed to be placed behind the virtual
IOMMU, this must be explicitly propagated through the code.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf 2020-04-27 10:15:30 +02:00 committed by Rob Bradford
parent 50134969b9
commit 8031ac33c3

View File

@ -1683,7 +1683,7 @@ impl DeviceManager {
Ok(( Ok((
Arc::clone(&vsock_device) as VirtioDeviceArc, Arc::clone(&vsock_device) as VirtioDeviceArc,
false, vsock_cfg.iommu,
vsock_cfg.id.clone(), vsock_cfg.id.clone(),
)) ))
} }