• D
    The policy kit and HAL node device drivers both require a · 2223ea98
    Daniel P. Berrange 提交于
    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.
    2223ea98
virdbus.h 1.0 KB