Blame SOURCES/kvm-Revert-rbd-Only-look-for-qemu-specific-copy-of-librb.patch

958e1b
From 7e01df44401fb6a0aeeecabdb0026290b36f0a03 Mon Sep 17 00:00:00 2001
958e1b
From: Kevin Wolf <kwolf@redhat.com>
958e1b
Date: Thu, 20 Nov 2014 13:47:22 +0100
958e1b
Subject: [PATCH 3/5] Revert "rbd: Only look for qemu-specific copy of
958e1b
 librbd.so.1"
958e1b
958e1b
Message-id: <1416491244-20209-3-git-send-email-kwolf@redhat.com>
958e1b
Patchwork-id: 62498
958e1b
O-Subject: [RHEL-7.1 qemu-kvm PATCH v2 2/4] Revert "rbd: Only look for qemu-specific copy of librbd.so.1"
958e1b
Bugzilla: 1140742
958e1b
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
958e1b
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
958e1b
RH-Acked-by: Max Reitz <mreitz@redhat.com>
958e1b
958e1b
This reverts commit ece4ff225717364edc3136599113709dacdc5731.
958e1b
958e1b
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
958e1b
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
958e1b
---
958e1b
 block/rbd.c | 2 +-
958e1b
 1 file changed, 1 insertion(+), 1 deletion(-)
958e1b
958e1b
diff --git a/block/rbd.c b/block/rbd.c
958e1b
index b870401..89319dc 100644
958e1b
--- a/block/rbd.c
958e1b
+++ b/block/rbd.c
958e1b
@@ -1125,7 +1125,7 @@ static int qemu_rbd_load_libs(void)
958e1b
         return -1;
958e1b
     }
958e1b
 
958e1b
-    librbd_handle = g_module_open("/usr/lib64/qemu/librbd.so.1", 0);
958e1b
+    librbd_handle = g_module_open("librbd.so.1", 0);
958e1b
     if (!librbd_handle) {
958e1b
         error_report("error loading librbd: %s", g_module_error());
958e1b
         return -1;
958e1b
-- 
958e1b
1.8.3.1
958e1b