Hi Tom, On Wed, Jan 30, 2019 at 03:10:29PM +0000, Lendacky, Thomas wrote: > On 1/29/19 2:43 AM, Joerg Roedel wrote: > > +size_t virtio_max_dma_size(struct virtio_device *vdev) > > +{ > > + size_t max_segment_size = SIZE_MAX; > > + > > + if (vring_use_dma_api(vdev)) > > + max_segment_size = dma_max_mapping_size(&vdev->dev); > > + > > + return max_segment_size; > > +} > > When I build with these patches and with the virtio devices as modules I > get a build failure. Looks like this needs an EXPORT_SYMBOL_GPL(). Thanks for pointing that out, I added the missing EXPORTs and will send a new version shortly. Regards, Joerg _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization