>-----Original Message----- >From: Eric Auger <eric.au...@redhat.com> >Sent: Wednesday, September 20, 2023 7:23 PM >Subject: Re: [PATCH v1 04/22] vfio/common: Introduce >vfio_container_add|del_section_window() > >Hi Zhenzhong, >On 8/30/23 12:37, Zhenzhong Duan wrote: >> From: Eric Auger <eric.au...@redhat.com> >> >> Introduce helper functions that isolate the code used for >> VFIO_SPAPR_TCE_v2_IOMMU. This code reliance is IOMMU backend >> specific whereas the rest of the code in the callers, ie. >this last sentence should be rephrased into something like >Those helpers hide implementation details beneath the container object >and make the vfio_listener_region_add/del() implementations more >readable ( I think). No code change intended.
Thanks for your suggestion, will use it in v2. BR. Zhenzhong