[PATCH] don't make lxc_driver static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



because it will be used in lxc_process.c

below is the error information
debug : virDriverLoadModule:66 : Module load lxc
error : virDriverLoadModule:78 : failed to load module
/usr/local/lib/libvirt/connection-driver/libvirt_driver_lxc.so
/usr/local/lib/libvirt/connection-driver/libvirt_driver_lxc.so:
undefined symbol: lxc_driver

Signed-off-by: Gao feng <gaofeng@xxxxxxxxxxxxxx>
---
 src/lxc/lxc_driver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index d7f052f..09c64b2 100644
--- a/src/lxc/lxc_driver.c
+++ b/src/lxc/lxc_driver.c
@@ -72,7 +72,7 @@
 
 static int lxcStartup(int privileged);
 static int lxcShutdown(void);
-static lxc_driver_t *lxc_driver = NULL;
+lxc_driver_t *lxc_driver = NULL;
 
 /* Functions */
 
-- 
1.7.7.6

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]