[Intel-gfx] [PATCH 06/10] vfio-iommufd: Allow iommufd to be used in place of a container fd

Tian, Kevin kevin.tian at intel.com
Thu Nov 3 04:39:03 UTC 2022


> From: Jason Gunthorpe <jgg at nvidia.com>
> Sent: Tuesday, November 1, 2022 7:51 PM
> 
> On Tue, Nov 01, 2022 at 02:19:04AM -0700, Nicolin Chen wrote:
> > On Tue, Nov 01, 2022 at 08:09:52AM +0000, Tian, Kevin wrote:
> >
> > > > From: Jason Gunthorpe <jgg at nvidia.com>
> > > > Sent: Wednesday, October 26, 2022 2:51 AM
> > > >
> > > >  menuconfig VFIO
> > > >       tristate "VFIO Non-Privileged userspace driver framework"
> > > >       select IOMMU_API
> > > > +     depends on IOMMUFD || !IOMMUFD
> > >
> > > Out of curiosity. What is the meaning of this dependency claim?
> >
> > "is it a module or not" -- from https://lwn.net/Articles/683476/
> 
> Yes, it is the kconfig pattern for "This symbol optionally uses the
> other symbol, and if the other symbol is turned on then it has to be
> the right y/m value"
> 
> ie rejects vfio being built-in but iommufd being a module
> 

Thanks. a good learning. 😊


More information about the Intel-gfx mailing list