All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: qemu-devel@nongnu.org, "Peter Xu" <peterx@redhat.com>,
	"Yu Zhang" <yu.zhang@ionos.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Thomas Huth" <thuth@redhat.com>,
	"Jack Wang" <jack.wang@ionos.com>,
	"Li Zhijian" <lizhijian@fujitsu.com>,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	"Michael Galaxy" <mgalaxy@akamai.com>
Subject: Re: [PATCH] migration/rdma: Allow building without on-demand paging support
Date: Thu, 2 May 2024 11:08:38 +0100	[thread overview]
Message-ID: <ZjNmJqfFw4ncRrav@redhat.com> (raw)
In-Reply-To: <8c487804-a706-4149-abb3-c2495247f09f@linaro.org>

On Thu, May 02, 2024 at 11:19:28AM +0200, 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

Solaris 11.4 was originally from 2018 IIUC, so that explains why
it is so ancient.

> I'm not sure how to detect the version, I'm seeing downstream
> patches applied on top.

When this was first introduced there was no pkg-config files
present, nor was it using cmake, or even library versioning
afaics.

The pkgconfig files were added 3 years later in

  commit df5fe3c2fa9d7dbb38fb7b4878955330620211ed
  Author: Luca Boccassi <bluca@debian.org>
  Date:   Tue Aug 28 19:46:07 2018 +0100

    Generate and install pkgconfig files for libs

which at that point had defined:

  CMakeLists.txt:set(PACKAGE_VERSION "20.0")
  librdmacm/CMakeLists.txt:  1 1.1.${PACKAGE_VERSION}
  libibverbs/CMakeLists.txt:  1 1.5.${PACKAGE_VERSION}

So I think we can try checking

  libibverbs >= 1.5
  rdmacm >= 1.1

in meson.build, and see if that solves the Solaris
problem....depends what the scope of their downstream
patches is.

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 :|



      parent reply	other threads:[~2024-05-02 10:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-02  9:05 [PATCH] migration/rdma: Allow building without on-demand paging support Philippe Mathieu-Daudé
2024-05-02  9:10 ` Daniel P. Berrangé
2024-05-02  9:19   ` Philippe Mathieu-Daudé
2024-05-02  9:21     ` Philippe Mathieu-Daudé
2024-05-02  9:55       ` Daniel P. Berrangé
2024-05-02 10:08     ` Daniel P. Berrangé [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZjNmJqfFw4ncRrav@redhat.com \
    --to=berrange@redhat.com \
    --cc=jack.wang@ionos.com \
    --cc=lizhijian@fujitsu.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=mgalaxy@akamai.com \
    --cc=pbonzini@redhat.com \
    --cc=peterx@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    --cc=yu.zhang@ionos.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.