mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-26 07:35:25 +00:00
6539d4a873
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 |