On Thu, May 02, 2024 at 11:21:31AM +0200, Philippe Mathieu-Daudé wrote: > On 2/5/24 11:19, Philippe Mathieu-Daudé wrote: > > On 2/5/24 11:10, Daniel P. Berrangé wrote: > > > On Thu, May 02, 2024 at 11:05:47AM +0200, Philippe Mathieu-Daudé wrote: > > > > On-demand paging support was added in libibverbs v1.2.0 in > > > > commit https://github.com/linux-rdma/rdma-core/commit/e500adc7b1 > > > > > > That is 9 years old, so I'm surprised any distro we target still > > > is so outdated. Can you say what distro you're seeing a problem > > > on and what version it has ? > > > > This is Oracle Solaris 11.4 SRU, released 2 weeks ago: > > https://support.oracle.com/knowledge/Sun%20Microsystems/2433412_1.html > > > > I'm not sure how to detect the version, I'm seeing downstream > > patches applied on top. > > Regardless, we can't expect any rdma library version to work, > either we ask for some version, or we check that symbol is there > and reject if not as "your rdma is too old", so the user can > choose to build with --disable-rdma.
The RDMA libs appear to have pkg-config files, so I agree that we should be requesting a min version in meson that matches what our code actually requires. With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|