ioctl(container, VFIO_IOMMU_MAP_DMA, &dma_map); 很明显,这个概念空间包括container和group两个概念,vfio_container是访问的上下文,vfio_group是vfio对iommu_group的表述。 [vfio_iommu_type1.c] 1staticlongvfio_iommu_type1_ioctl(void*iommu_data,2unsignedintcmd, unsignedlongarg)3{4structvfio_iommu *iom...
在以非root用户身份运行VFIO时遇到了同样的问题,因为这里似乎没有解决方案。我增加了锁定内存的限制,在...
Caused by: Failed to add guest memory region map into IOMMU table Caused by: Vfio ioctl failed: VFIO_IOMMU_MAP_DMA, result is: -1 【附件信息】 比如系统message日志/组件日志、dump信息、图片等 openeuler-ci-bot 拥有者 3年前 Hey xinleguo, Welcome to openEuler Community. All of the projects...
Now cloud hypervisor do vfio dma map when first vfio container. However, vfio device will call Drop when remove all vfio device and vfio driver in kernel will unpin and unmap all guest pages. After this if new vfio device is added dma will fail because cloud hypervisor will not do vfio ...