mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-30 00:15:27 +00:00
54f39aa8cb
Extend the validate() function for both DiskConfig and NetConfig so that we return an error if a vhost-user-block or vhost-user-net device is expected to be placed behind the virtual IOMMU. Since these devices don't support this feature, we can't allow iommu to be set to true in these cases. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>