All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-devel@nongnu.org
Cc: fam@euphon.net, "Thomas Huth" <thuth@redhat.com>,
	berrange@redhat.com, stefanha@redhat.com, crosa@redhat.com,
	aaron@os.amperecomputing.com, robhenry@microsoft.com,
	f4bug@amsat.org, mahmoudabdalghany@outlook.com, minyihh@uci.edu,
	cota@braap.org,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	Luke.Craig@ll.mit.edu, pbonzini@redhat.com,
	kuhn.chenqun@huawei.com, ma.mandourr@gmail.com,
	"Alex Bennée" <alex.bennee@linaro.org>,
	aurelien@aurel32.net, "Beraldo Leal" <bleal@redhat.com>
Subject: [PATCH v2 11/25] tests/lcitool: Install libibumad to cover RDMA on Debian based distros
Date: Tue,  1 Feb 2022 18:20:36 +0000	[thread overview]
Message-ID: <20220201182050.15087-12-alex.bennee@linaro.org> (raw)
In-Reply-To: <20220201182050.15087-1-alex.bennee@linaro.org>

From: Philippe Mathieu-Daudé <f4bug@amsat.org>

On Debian we also need libibumad to enable RDMA:

  $ ../configure --enable-rdma

  ERROR:  OpenFabrics librdmacm/libibverbs/libibumad not present.
          Your options:
           (1) Fast: Install infiniband packages (devel) from your distro.
           (2) Cleanest: Install libraries from www.openfabrics.org
           (3) Also: Install softiwarp if you don't have RDMA hardware

Add the dependency to lcitool's qemu.yml (where librdmacm and
libibverbs are already listed) and refresh the generated files
by running:

      $ make lcitool-refresh

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220121154134.315047-8-f4bug@amsat.org>
Message-Id: <20220124201608.604599-12-alex.bennee@linaro.org>
---
 tests/docker/dockerfiles/ubuntu1804.docker | 1 +
 tests/docker/dockerfiles/ubuntu2004.docker | 1 +
 tests/lcitool/projects/qemu.yml            | 1 +
 3 files changed, 3 insertions(+)

diff --git a/tests/docker/dockerfiles/ubuntu1804.docker b/tests/docker/dockerfiles/ubuntu1804.docker
index 003ee2cfed..699f2dfc6a 100644
--- a/tests/docker/dockerfiles/ubuntu1804.docker
+++ b/tests/docker/dockerfiles/ubuntu1804.docker
@@ -52,6 +52,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
             libglib2.0-dev \
             libgnutls28-dev \
             libgtk-3-dev \
+            libibumad-dev \
             libibverbs-dev \
             libiscsi-dev \
             libjemalloc-dev \
diff --git a/tests/docker/dockerfiles/ubuntu2004.docker b/tests/docker/dockerfiles/ubuntu2004.docker
index 8993d2d9e0..87513125b8 100644
--- a/tests/docker/dockerfiles/ubuntu2004.docker
+++ b/tests/docker/dockerfiles/ubuntu2004.docker
@@ -53,6 +53,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
             libglusterfs-dev \
             libgnutls28-dev \
             libgtk-3-dev \
+            libibumad-dev \
             libibverbs-dev \
             libiscsi-dev \
             libjemalloc-dev \
diff --git a/tests/lcitool/projects/qemu.yml b/tests/lcitool/projects/qemu.yml
index de51a2f1dd..958868a6ee 100644
--- a/tests/lcitool/projects/qemu.yml
+++ b/tests/lcitool/projects/qemu.yml
@@ -43,6 +43,7 @@ packages:
  - libfdt
  - libffi
  - libgcrypt
+ - libibumad
  - libibverbs
  - libiscsi
  - libjemalloc
-- 
2.30.2



  parent reply	other threads:[~2022-02-01 20:41 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-01 18:20 [PATCH v2 00/25] testing and plugin updates Alex Bennée
2022-02-01 18:20 ` [PATCH v2 01/25] tests/Makefile.include: clean-up old code Alex Bennée
2022-02-01 18:20 ` [PATCH v2 02/25] tests/qtest: enable more vhost-user tests by default Alex Bennée
2022-02-01 18:20 ` [PATCH v2 03/25] Makefile: also remove .gcno files when cleaning Alex Bennée
2022-02-01 18:20 ` [PATCH v2 04/25] .gitignore: add .gcov pattern Alex Bennée
2022-02-01 18:20 ` [PATCH v2 05/25] MAINTAINERS: Cover lcitool submodule with build test / automation Alex Bennée
2022-02-01 18:20 ` [PATCH v2 06/25] gitmodules: Correct libvirt-ci submodule URL Alex Bennée
2022-02-01 18:20 ` [PATCH v2 07/25] tests/lcitool: Include local qemu.yml when refreshing cirrus-ci files Alex Bennée
2022-02-01 18:20 ` [PATCH v2 08/25] drop libxml2 checks since libxml is not actually used (for parallels) Alex Bennée
2022-02-01 18:20 ` [PATCH v2 09/25] tests/lcitool: Refresh submodule and remove libxml2 Alex Bennée
2022-02-01 18:20 ` [PATCH v2 10/25] tests: Manually remove libxml2 on MSYS2 runners Alex Bennée
2022-02-01 18:20 ` Alex Bennée [this message]
2022-02-01 18:20 ` [PATCH v2 12/25] docs/devel: mention our .editorconfig Alex Bennée
2022-02-02  1:18   ` Philippe Mathieu-Daudé via
2022-02-01 18:20 ` [PATCH v2 13/25] gitlab: fall back to commit hash in qemu-setup filename Alex Bennée
2022-02-01 18:20 ` [PATCH v2 14/25] tests/lcitool: Allow lcitool-refresh in out-of-tree builds, too Alex Bennée
2022-02-02  1:19   ` Philippe Mathieu-Daudé via
2022-02-01 18:20 ` [PATCH v2 15/25] block: fix FreeBSD build failure with fallocate Alex Bennée
2022-02-01 19:52   ` Kevin Wolf
2022-02-01 18:20 ` [PATCH v2 16/25] docs: remove references to TCG tracing Alex Bennée
2022-02-01 18:20 ` [PATCH v2 17/25] tracing: remove TCG memory access tracing Alex Bennée
2022-02-02  1:21   ` Philippe Mathieu-Daudé via
2022-02-01 18:20 ` [PATCH v2 18/25] tracing: remove the trace-tcg includes from the build Alex Bennée
2022-02-01 18:20 ` [PATCH v2 19/25] tracing: excise the tcg related from tracetool Alex Bennée
2022-02-01 18:20 ` [PATCH v2 20/25] plugins: add helper functions for coverage plugins Alex Bennée
2022-02-01 18:20 ` [PATCH v2 21/25] contrib/plugins: add a drcov plugin Alex Bennée
2022-02-01 18:20 ` [PATCH v2 22/25] tests/plugin: allow libinsn.so per-CPU counts Alex Bennée
2022-02-01 18:20 ` [PATCH v2 23/25] tests/plugins: add instruction matching to libinsn.so Alex Bennée
2022-02-01 18:20 ` [PATCH v2 24/25] target/i386: use CPU_LOG_INT for IRQ servicing Alex Bennée
2022-02-01 18:20 ` [PATCH v2 25/25] plugins: move reset of plugin data to tb_start Alex Bennée

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=20220201182050.15087-12-alex.bennee@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=Luke.Craig@ll.mit.edu \
    --cc=aaron@os.amperecomputing.com \
    --cc=aurelien@aurel32.net \
    --cc=berrange@redhat.com \
    --cc=bleal@redhat.com \
    --cc=cota@braap.org \
    --cc=crosa@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=fam@euphon.net \
    --cc=kuhn.chenqun@huawei.com \
    --cc=ma.mandourr@gmail.com \
    --cc=mahmoudabdalghany@outlook.com \
    --cc=minyihh@uci.edu \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=robhenry@microsoft.com \
    --cc=stefanha@redhat.com \
    --cc=thuth@redhat.com \
    --cc=wainersm@redhat.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.