mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
The policy kit and HAL node device drivers both require a
DBus connection. The HAL device code further requires that
the DBus connection is integrated with the event loop and
provides such glue logic itself.
The forthcoming FirewallD integration also requires a
dbus connection with event loop integration. Thus we need
to pull the current event loop glue out of the HAL driver.
Thus we create src/util/virdbus.{c,h} files. This contains
just one method virDBusGetSystemBus() which obtains a handle
to the single shared system bus instance, with event glue
automagically setup.
This commit is contained in:
committed by
Daniel Berrange
parent
7c26343bc3
commit
2223ea984c
@@ -128,6 +128,7 @@ src/util/util.c
|
||||
src/util/viraudit.c
|
||||
src/util/virauth.c
|
||||
src/util/virauthconfig.c
|
||||
src/util/virdbus.c
|
||||
src/util/virfile.c
|
||||
src/util/virhash.c
|
||||
src/util/virkeyfile.c
|
||||
|
||||
Reference in New Issue
Block a user