mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00: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>
|
Mon Oct 13 18:45:43 CEST 2008 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
avoid many format string warnings
|
avoid many format string warnings
|
||||||
|
@ -300,9 +300,9 @@ virInitialize(void)
|
|||||||
if (networkRegister() == -1) return -1;
|
if (networkRegister() == -1) return -1;
|
||||||
#endif
|
#endif
|
||||||
if (storageRegister() == -1) return -1;
|
if (storageRegister() == -1) return -1;
|
||||||
|
#endif
|
||||||
#ifdef WITH_REMOTE
|
#ifdef WITH_REMOTE
|
||||||
if (remoteRegister () == -1) return -1;
|
if (remoteRegister () == -1) return -1;
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return(0);
|
return(0);
|
||||||
@ -543,6 +543,9 @@ virRegisterDriver(virDriverPtr driver)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DEBUG ("registering %s as driver %d",
|
||||||
|
driver->name, virDriverTabCount);
|
||||||
|
|
||||||
virDriverTab[virDriverTabCount] = driver;
|
virDriverTab[virDriverTabCount] = driver;
|
||||||
return virDriverTabCount++;
|
return virDriverTabCount++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user