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:
Sebastien Boeuf 2020-04-29 17:48:23 +02:00 committed by Rob Bradford
parent 8031ac33c3
commit b08fde5928

View File

@ -1421,7 +1421,7 @@ impl DeviceManager {
));
devices.push((
Arc::clone(&virtio_rng_device) as VirtioDeviceArc,
false,
rng_config.iommu,
None,
));