[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [RFC v2 05/22] vfio/common: add iommu_ctx_notifier in container
From: |
Liu, Yi L |
Subject: |
RE: [RFC v2 05/22] vfio/common: add iommu_ctx_notifier in container |
Date: |
Wed, 6 Nov 2019 11:08:46 +0000 |
> From: Peter Xu
> Sent: Friday, November 1, 2019 10:59 PM
> To: Liu, Yi L <address@hidden>
> Subject: Re: [RFC v2 05/22] vfio/common: add iommu_ctx_notifier in container
>
> On Thu, Oct 24, 2019 at 08:34:26AM -0400, Liu Yi L wrote:
>
> [...]
>
> > +typedef struct VFIOIOMMUContext {
> > + VFIOContainer *container;
> > + IOMMUContext *iommu_ctx;
> > + IOMMUCTXNotifier n;
> > + QLIST_ENTRY(VFIOIOMMUContext) iommu_ctx_next; } VFIOIOMMUContext;
> > +
>
> No strong opinion on this - but for me it would be more meaningful to squash
> this
> patch into where this struct is firstly used.
got it. will make it in next version.
Regards,
Yi Liu