mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 08:21:15 +00:00
For cases where IOMMU is not supported, iommu_group will be no present. This could happened because IOMMU is off at kernel level, bios level or is not supported at all. Instead of fail with a generic error handle it as different use case: Before: ReadLink(Os { code: 2, kind: NotFound, message: "No such file or directory"}) After: VfioNoIommuGroup("/sys/bus/pci/devices/0000:03:00.0/iommu_group") Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com> |
||
---|---|---|
.. | ||
lib.rs | ||
vfio_device.rs | ||
vfio_ioctls.rs | ||
vfio_pci.rs |