mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-10 22:57:43 +00:00
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 <sebastien.boeuf@intel.com>
This commit is contained in:
parent
b08fde5928
commit
d71d52e9b0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user