On Thu, Mar 30, 2023 at 12:52:39PM +0000, Liu, Yi L wrote: > > > "Use a negative value for no-iommu, where supported", or better, should > > > we define this explicitly as -1, or why not use a flag bit to specify > > > no-iommu? Maybe minsz is only through flags for the noiommu use case. > > > > I was happy enough for this to be defined as -1. We could give it a > > formal sounding constant too > > are you suggesting having something like "#define VFIO_NOIOMMU_FD -1"? Yeah something like that Jason