thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

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

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