On Tue, Mar 31, 2026 at 08:13:58AM -0600, Keith Busch wrote: > On Tue, Mar 31, 2026 at 05:03:09PM +0300, Leon Romanovsky wrote: > > I understand, my proposal is always set TPH flag when new struct is > > used. > > An existing application recompiled against the new kernel api implicitly > uses the new struct layout without setting the TPH flag, so kernel and > application are out of sync on where dma_ranges exists with your > proposal.
Right, what about adding TPH fields to struct vfio_region_dma_range instead of struct vfio_device_feature_dma_buf? Thanks
