mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-15 09:53:44 -06:00
* 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:
parent
fd52c6ff67
commit
d510d4bf92
@ -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
|
||||
|
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user