Re: [PATCH] vfio/container: Rename vfio_init_container to vfio_set_iommu

2024-01-02 Thread Cédric Le Goater
On 12/21/23 03:45, Zhenzhong Duan wrote: vfio_container_init() and vfio_init_container() names are confusing especially when we see vfio_init_container() calls vfio_container_init(). vfio_container_init() operates on base container which is consistent with all routines handling

Re: [PATCH] vfio/container: Rename vfio_init_container to vfio_set_iommu

2023-12-21 Thread Cédric Le Goater
On 12/21/23 03:45, Zhenzhong Duan wrote: vfio_container_init() and vfio_init_container() names are confusing especially when we see vfio_init_container() calls vfio_container_init(). vfio_container_init() operates on base container which is consistent with all routines handling

[PATCH] vfio/container: Rename vfio_init_container to vfio_set_iommu

2023-12-20 Thread Zhenzhong Duan
vfio_container_init() and vfio_init_container() names are confusing especially when we see vfio_init_container() calls vfio_container_init(). vfio_container_init() operates on base container which is consistent with all routines handling 'VFIOContainerBase *' ops. vfio_init_container() operates