mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-03 20:15:45 +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((
|
devices.push((
|
||||||
Arc::clone(&virtio_rng_device) as VirtioDeviceArc,
|
Arc::clone(&virtio_rng_device) as VirtioDeviceArc,
|
||||||
false,
|
rng_config.iommu,
|
||||||
None,
|
None,
|
||||||
));
|
));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user