The first 15 patches fixes some issues and bugs and cleanups the code.
Patch 16 introduces support for libdbus and a lot of helper functions.
Patch 17 switches the code to use libdbus instead of sd-bus and drops
all sd-bus related code.
Patch 18 introduces threading so every message is processed by separate
thread.
Pavel Hrdina (18):
util: rename VIR_ATTR_UNUSED
util: there is no need to mark cleanup functions as inline
util: introduce VIRT_DBUS_ERROR_INTERFACE
connect: introduce VIRT_DBUS_CONNECT_INTERFACE
domain: introduce VIRT_DBUS_DOMAIN_INTERFACE
events: fix signal message for TrayChange event
events: fix function names for TrayChange and DiskChange events
main: error out if signal handler is not registered
main: fix error message
spec: don't use hard-coded system_user
maint: fix coding style
maint: cleanup includes
domain: ensure connection to libvirt
connect: parse message arguments as first thing
domain: create a helper function to get a domain object
introduce support for libdbus library
switch from sd-bus to libdbus
main: introduce threads to process the dbus messages
README | 2 +-
configure.ac | 16 +-
data/Makefile.am | 7 +
data/org.libvirt.Connect.xml | 56 ++
data/org.libvirt.Domain.xml | 51 ++
libvirt-dbus.spec.in | 16 +-
src/Makefile.am | 15 +-
src/connect.c | 240 ++++-----
src/connect.h | 44 +-
src/dbus.c | 1226 ++++++++++++++++++++++++++++++++++++++++++
src/dbus.h | 158 ++++++
src/domain.c | 642 ++++++++++------------
src/domain.h | 5 +-
src/events.c | 150 +++---
src/events.h | 3 -
src/main.c | 208 ++++---
src/util.c | 310 ++++++++---
src/util.h | 82 ++-
test/Makefile.am | 3 +-
test/travis-run | 2 +-
20 files changed, 2446 insertions(+), 790 deletions(-)
create mode 100644 data/org.libvirt.Connect.xml
create mode 100644 data/org.libvirt.Domain.xml
create mode 100644 src/dbus.c
create mode 100644 src/dbus.h
--
2.14.3