mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-10 22:57:43 +00:00
vmm: Fix virtio-rng creation with virtual IOMMU
If the virtio-rng 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
8031ac33c3
commit
b08fde5928
@ -1421,7 +1421,7 @@ impl DeviceManager {
|
||||
));
|
||||
devices.push((
|
||||
Arc::clone(&virtio_rng_device) as VirtioDeviceArc,
|
||||
false,
|
||||
rng_config.iommu,
|
||||
None,
|
||||
));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user