RE: [PATCH v1 16/22] backends/iommufd: Introduce the iommufd object

2023-09-22 Thread Duan, Zhenzhong
>-Original Message- >From: Cédric Le Goater >Sent: Friday, September 22, 2023 3:16 PM ... >> +int iommufd_backend_map_dma(IOMMUFDBackend *be, uint32_t ioas, >hwaddr iova, >> +ram_addr_t size, void *vaddr, bool readonly) >> +{ >> +int ret; >> +struct io

Re: [PATCH v1 16/22] backends/iommufd: Introduce the iommufd object

2023-09-22 Thread Cédric Le Goater
On 8/30/23 12:37, Zhenzhong Duan wrote: From: Eric Auger Introduce an iommufd object which allows the interaction with the host /dev/iommu device. The /dev/iommu can have been already pre-opened outside of qemu, in which case the fd can be passed directly along with the iommufd object: This a