On Tue, 14 Sept 2021 at 12:56, Juan Quintela <quint...@redhat.com> wrote: > > The following changes since commit c6f5e042d89e79206cd1ce5525d3df219f13c3cc: > > Merge remote-tracking branch > 'remotes/pmaydell/tags/pull-target-arm-20210913-3' into staging (2021-09-13 > 21:06:15 +0100) > > are available in the Git repository at: > > https://github.com/juanquintela/qemu.git tags/migration.next-pull-request > > for you to fetch changes up to d634d0e7b0225f97f45cecb72ca90bd0e7bdb211: > > migration/ram: Don't passs RAMState to > migration_clear_memory_region_dirty_bitmap_*() (2021-09-14 13:45:06 +0200) > > ---------------------------------------------------------------- > Migration Pull request (take 2) > > This pull request includes: > - Remove RAMState unused parameter for several prototypes (dropped) > - RDMA fix > - give an error when using RDMA and multifd > - Implement yank for multifd send side > > Please, Apply. >
Hi; this fails to build on FreeBSD: ../src/migration/rdma.c:1146:23: error: use of undeclared identifier 'IBV_ADVISE_MR_ADVICE_PREFETCH_WRITE' int advice = wr ? IBV_ADVISE_MR_ADVICE_PREFETCH_WRITE : ^ ../src/migration/rdma.c:1147:18: error: use of undeclared identifier 'IBV_ADVISE_MR_ADVICE_PREFETCH' IBV_ADVISE_MR_ADVICE_PREFETCH; ^ ../src/migration/rdma.c:1150:11: warning: implicit declaration of function 'ibv_advise_mr' is invalid in C99 [-Wimplicit-function-declaration] ret = ibv_advise_mr(pd, advice, ^ ../src/migration/rdma.c:1151:25: error: use of undeclared identifier 'IBV_ADVISE_MR_FLAG_FLUSH' IBV_ADVISE_MR_FLAG_FLUSH, &sg_list, 1); ^ 1 warning and 3 errors generated. Looking at the code, none of the proposed ways to detect whether the host has this function seem to have been implemented: did you push the wrong branch ? thanks -- PMM