From 8031ac33c3484c0d5c438e8ee1a259f8449aff81 Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Mon, 27 Apr 2020 10:15:30 +0200 Subject: [PATCH] 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 --- vmm/src/device_manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmm/src/device_manager.rs b/vmm/src/device_manager.rs index 96efc12eb..a330e9eb2 100644 --- a/vmm/src/device_manager.rs +++ b/vmm/src/device_manager.rs @@ -1683,7 +1683,7 @@ impl DeviceManager { Ok(( Arc::clone(&vsock_device) as VirtioDeviceArc, - false, + vsock_cfg.iommu, vsock_cfg.id.clone(), )) }