Skip to contentSkip to conversation

meson: Remove libibumad dependence

PATCH Superseded zhenwei pi 2 participants 3 messages Jun 11, 2024 Arm/Amlogic Meson SoC support

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

zhenwei pi

author
#0 lore raw

v2 cover meson: Remove libibumad dependence

v1 -> v2: remove libibumad from tests/lcitool/projects/qemu.yml

v1: remove libibumad dependence

Zhenwei Pi (1):
meson: Remove libibumad dependence

 meson.build                     | 4 +---
 tests/lcitool/projects/qemu.yml | 1 -
 2 files changed, 1 insertion(+), 4 deletions(-)
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH v2 1/1 meson: Remove libibumad dependence

RDMA based migration has no dependence on libumad. libibverbs and librdmacm are enough.
libumad was used by rdmacm-mux which has been already removed. It's remained mistakenly.

Fixes 1dfd42c4264b ("hw/rdma: Remove deprecated pvrdma device and rdmacm-mux helper")
Cc Philippe Mathieu-Daudé <[email protected]>
---
 meson.build                     | 4 +---
 tests/lcitool/projects/qemu.yml | 1 -
 2 files changed, 1 insertion(+), 4 deletions(-)
meson.build +1 -3
index ec59effca2..226b97ea26 100644
@@ -1885,11 +1885,9 @@ endif
 
 rdma = not_found
 if not get_option('rdma').auto() or have_system
-  libumad = cc.find_library('ibumad', required: get_option('rdma'))
   rdma_libs = [cc.find_library('rdmacm', has_headers: ['rdma/rdma_cma.h'],
                                required: get_option('rdma')),
-               cc.find_library('ibverbs', required: get_option('rdma')),
-               libumad]
+               cc.find_library('ibverbs', required: get_option('rdma'))]
   rdma = declare_dependency(dependencies: rdma_libs)
   foreach lib: rdma_libs
     if not lib.found()
tests/lcitool/projects/qemu.yml +0 -1
index 070d7f4706..0c85784259 100644
@@ -47,7 +47,6 @@ packages:
  - libfdt
  - libffi
  - libgcrypt
- - libibumad
  - libibverbs
  - libiscsi
  - libjemalloc
Signature · 1 line
2.34.1
#2 lore raw
Quoted 19 lines · zhenwei pi

RDMA based migration has no dependence on libumad. libibverbs and librdmacm are enough.
libumad was used by rdmacm-mux which has been already removed. It's remained mistakenly.

Fixes 1dfd42c4264b ("hw/rdma: Remove deprecated pvrdma device and rdmacm-mux helper")
Cc Philippe Mathieu-Daudé <[email protected]>
---
  meson.build                     | 4 +---
  tests/lcitool/projects/qemu.yml | 1 -
  2 files changed, 1 insertion(+), 4 deletions(-)
tests/lcitool/projects/qemu.yml +0 -0
index 070d7f4706..0c85784259 100644

tests/lcitool/projects/qemu.yml packages: · line 52

Quoted 7 lines
tests/lcitool/projects/qemu.yml +0 -1
@@ -47,7 +47,6 @@ packages:
   - libfdt
   - libffi
   - libgcrypt
- - libibumad
   - libibverbs
   - libiscsi
   - libjemalloc

You didn't run "make lcitool-refresh", see:
https://www.qemu.org/docs/master/devel/testing#adding-new-build-pre-requisites