[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v2 01/27] vfio: Rename VFIOContainer into VFIOLegacyContainer
From: |
Duan, Zhenzhong |
Subject: |
RE: [PATCH v2 01/27] vfio: Rename VFIOContainer into VFIOLegacyContainer |
Date: |
Wed, 18 Oct 2023 02:33:52 +0000 |
>-----Original Message-----
>From: Cédric Le Goater <clg@redhat.com>
>Sent: Tuesday, October 17, 2023 11:51 PM
>Subject: Re: [PATCH v2 01/27] vfio: Rename VFIOContainer into
>VFIOLegacyContainer
>
>Hello,
>
>On 10/16/23 10:31, Zhenzhong Duan wrote:
>> From: Eric Auger <eric.auger@redhat.com>
>>
>> In the prospect to introduce a base object for the VFIOContainer
>> and derive into the existing legacy container and the iommufd
>> based container, let's rename the existing one into
>> VFIOLegacyContainer. This is just an incremental step to ease
>> the migration. Soon there won't be any reference to the legacy
>> container in the common.c code. Only the container.c should
>> handle the VFIOLegacyContainer object.
>
>So I think I would have kept the current name as it is, named the
>new abtract QOM object VFIOContainerBase and then, derived from
>VFIOContainerBase, the current implementation VFIOContainer and
>the new one VFIOContainerIOMMUFD.
OK, will do.
Thanks
Zhenzhong
- [PATCH v2 00/27] vfio: Adopt iommufd, Zhenzhong Duan, 2023/10/16
- [PATCH v2 02/27] vfio: Introduce base object for VFIOContainer and targetted interface, Zhenzhong Duan, 2023/10/16
- [PATCH v2 01/27] vfio: Rename VFIOContainer into VFIOLegacyContainer, Zhenzhong Duan, 2023/10/16
- [PATCH v2 03/27] VFIO/container: Introduce dummy VFIOContainerClass implementation, Zhenzhong Duan, 2023/10/16
- [PATCH v2 05/27] vfio/common: Move giommu_list in base container, Zhenzhong Duan, 2023/10/16
- [PATCH v2 04/27] vfio/container: Switch to dma_map|unmap API, Zhenzhong Duan, 2023/10/16
- [PATCH v2 07/27] vfio/container: switch to IOMMU BE add/del_section_window, Zhenzhong Duan, 2023/10/16
- [PATCH v2 06/27] vfio/container: Move space field to base container, Zhenzhong Duan, 2023/10/16
- [PATCH v2 08/27] vfio/container: Move hostwin_list in base container, Zhenzhong Duan, 2023/10/16
- [PATCH v2 09/27] vfio/container: Switch to IOMMU BE set_dirty_page_tracking/query_dirty_bitmap API, Zhenzhong Duan, 2023/10/16
- [PATCH v2 10/27] vfio/container: Move per container device list in base container, Zhenzhong Duan, 2023/10/16
- [PATCH v2 11/27] vfio/container: Convert functions to base container, Zhenzhong Duan, 2023/10/16
- [PATCH v2 12/27] vfio/container: Move vrdl_list, pgsizes and dma_max_mappings to base container, Zhenzhong Duan, 2023/10/16