summaryrefslogtreecommitdiffstats
path: root/libvir.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvir.c')
-rw-r--r--libvir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvir.c b/libvir.c
index 47da369..1d97037 100644
--- a/libvir.c
+++ b/libvir.c
@@ -269,6 +269,8 @@ initlibvirtmod(void)
if (initialized != 0)
return;
+ virInitialize();
+
/* intialize the python extension module */
Py_InitModule((char *) "libvirtmod", libvirtMethods);