From d71d52e9b02b76d1c35f876168d11f2a0f6b6656 Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Wed, 29 Apr 2020 18:14:48 +0200 Subject: [PATCH] vmm: Fix virtio-console creation with virtual IOMMU If the virtio-console 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 0016d492d..d807e4a4c 100644 --- a/vmm/src/device_manager.rs +++ b/vmm/src/device_manager.rs @@ -1097,7 +1097,7 @@ impl DeviceManager { .map_err(DeviceManagerError::CreateVirtioConsole)?; virtio_devices.push(( Arc::new(Mutex::new(virtio_console_device)) as VirtioDeviceArc, - false, + console_config.iommu, None, )); Some(console_input)