* src/libvirt.c: Register the remote driver even when we are

configured --without-libvirtd.  Also adds debugging of
        registration events.
This commit is contained in:
Richard W.M. Jones 2008-10-15 10:33:01 +00:00
parent fd52c6ff67
commit d510d4bf92
2 changed files with 10 additions and 1 deletions

View File

@ -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

View 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++;
}