meson: Remove libumad dependence
PATCH 1/1 meson: Remove libumad 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.
--- meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meson.build +1 -3
@@ -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()
Signature · 1 line
2.34.1
Quoted 4 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.
Great!
Please also update tests/lcitool/projects/qemu.yml, with that:
Quoted 24 lines
Fixes 1dfd42c4264b ("hw/rdma: Remove deprecated pvrdma device and rdmacm-mux helper")Cc Philippe Mathieu-Daudé <[email protected]>Signed-off-by zhenwei pi <[email protected]>--- meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)meson.build +1
-3@@ -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()
Quoted 9 lines · Philippe Mathieu-Daudé
Quoted 4 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.Great!
Please also update
tests/lcitool/projects/qemu.yml,
(see https://www.qemu.org/docs/master/devel/testing#adding-new-build-pre-requisites)
Quoted 27 lines
with that:
Reviewed-by Philippe Mathieu-Daudé <[email protected]>Quoted 23 lines
Fixes 1dfd42c4264b ("hw/rdma: Remove deprecated pvrdma device and rdmacm-mux helper")Cc Philippe Mathieu-Daudé <[email protected]>Signed-off-by zhenwei pi <[email protected]>---
meson.build | 4 +---1 file changed, 1 insertion(+), 3 deletions(-)meson.build +0
-0@@ -1885,11 +1885,9 @@ endifrdma =
not_found
if not get_option('rdma').auto() orhave_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 notlib.found()