]> xenbits.xensource.com Git - libvirt.git/commitdiff
* src/libvirt.c: Register the remote driver even when we are
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 15 Oct 2008 10:33:01 +0000 (10:33 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 15 Oct 2008 10:33:01 +0000 (10:33 +0000)
        configured --without-libvirtd.  Also adds debugging of
        registration events.

ChangeLog
src/libvirt.c

index f44d75f6c816c68335325f477c84a5796c6513de..37152112b1218a84660a5f94ea712e34c97620c7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Wed Oct 15 11:28:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
+
+       * src/libvirt.c: Register the remote driver even when we are
+       configured --without-libvirtd.  Also adds debugging of
+       registration events.
+
 Mon Oct 13 18:45:43 CEST 2008 Jim Meyering <meyering@redhat.com>
 
        avoid many format string warnings
index fd6422d682dbcf54968cbad38be613ef0bd1e631..ca2675a1df0d8297ac3d0feefe12e888a42272d6 100644 (file)
@@ -300,9 +300,9 @@ virInitialize(void)
     if (networkRegister() == -1) return -1;
 #endif
     if (storageRegister() == -1) return -1;
+#endif
 #ifdef WITH_REMOTE
     if (remoteRegister () == -1) return -1;
-#endif
 #endif
 
     return(0);
@@ -543,6 +543,9 @@ virRegisterDriver(virDriverPtr driver)
         return -1;
     }
 
+    DEBUG ("registering %s as driver %d",
+           driver->name, virDriverTabCount);
+
     virDriverTab[virDriverTabCount] = driver;
     return virDriverTabCount++;
 }