Re: [RFC v2 3/7] HostIOMMUDevice: Introduce get_iova_ranges callback

2024-06-13 Thread Eric Auger
Hi, On 6/11/24 05:24, Duan, Zhenzhong wrote: > >> -Original Message- >> From: Eric Auger >> Subject: [RFC v2 3/7] HostIOMMUDevice: Introduce get_iova_ranges >> callback >> >> Introduce a new HostIOMMUDevice callback that allows to >> retrieve

RE: [RFC v2 3/7] HostIOMMUDevice: Introduce get_iova_ranges callback

2024-06-10 Thread Duan, Zhenzhong
>-Original Message- >From: Eric Auger >Subject: [RFC v2 3/7] HostIOMMUDevice: Introduce get_iova_ranges >callback > >Introduce a new HostIOMMUDevice callback that allows to >retrieve the usable IOVA ranges. > >Implement this callback in the legacy VFIO a

[RFC v2 3/7] HostIOMMUDevice: Introduce get_iova_ranges callback

2024-06-07 Thread Eric Auger
Introduce a new HostIOMMUDevice callback that allows to retrieve the usable IOVA ranges. Implement this callback in the legacy VFIO and IOMMUFD VFIO host iommu devices. This relies on the VFIODevice agent's base container iova_ranges resource. Signed-off-by: Eric Auger --- include/sysemu/host_i