[libvirt] [PATCH 01/10] rbd: depend on diff_iterate2

Ján Tomko jtomko at redhat.com
Wed Apr 3 05:40:16 UTC 2019


This function was added by
commit 6d5b969d4206208e91ca807b09aac75f2f428393
    librbd: add diff_iterate2 to API
git describe: v0.94-1009-g6d5b969d42 contains: v9.0.1~55^2~27

Effectively bump the required version to 9.0.1 now that we no
longer try to support Debian 8.

Ubuntu 16.04 has 10.2.11:
https://repology.org/project/ceph/versions

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 m4/virt-storage-rbd.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/virt-storage-rbd.m4 b/m4/virt-storage-rbd.m4
index f3d9d04908..a54cdb2cd1 100644
--- a/m4/virt-storage-rbd.m4
+++ b/m4/virt-storage-rbd.m4
@@ -32,7 +32,7 @@ AC_DEFUN([LIBVIRT_STORAGE_CHECK_RBD], [
 
       old_LIBS="$LIBS"
       LIBS="$LIBS $LIBRBD_LIBS"
-      AC_CHECK_FUNCS([rbd_get_features],[],[LIBRBD_FOUND=no])
+      AC_CHECK_FUNCS([rbd_diff_iterate2],[],[LIBRBD_FOUND=no])
       AC_CHECK_FUNCS([rbd_list2])
       LIBS="$old_LIBS"
     fi
-- 
2.19.2




More information about the libvir-list mailing list