Re: [PATCH v4 05/41] vfio/common: Move vfio_host_win_add/del into spapr.c

2023-11-06 Thread Cédric Le Goater
On 11/2/23 08:12, Zhenzhong Duan wrote: Only spapr supports a customed host window list, other vfio driver assume 64bit host window. So remove the check in listener callback and move vfio_host_win_add/del into spapr.c and make it static. With the check removed, we still need to do the same check

[PATCH v4 05/41] vfio/common: Move vfio_host_win_add/del into spapr.c

2023-11-02 Thread Zhenzhong Duan
Only spapr supports a customed host window list, other vfio driver assume 64bit host window. So remove the check in listener callback and move vfio_host_win_add/del into spapr.c and make it static. With the check removed, we still need to do the same check for VFIO_SPAPR_TCE_IOMMU which allows a s