]> xenbits.xensource.com Git - libvirt.git/commit
Fix virsystemdtest without SYSTEMD_DAEMON
authorJán Tomko <jtomko@redhat.com>
Mon, 14 Apr 2014 17:45:47 +0000 (19:45 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 14 Apr 2014 17:45:47 +0000 (19:45 +0200)
commit6077be466efcc2d57679e59db8a4b1626ed0757c
treec497dafab11a40a3612297c899430f26a5b1cf09
parent489769811080c624a4622e29698b7e348b979bc7
Fix virsystemdtest without SYSTEMD_DAEMON

Commit 4897698 fixed the build without dbus by only building
the virSystemdPMSupportTarget with SYSTEMD_DAEMON.

Introduce a virDBusMessageUnref wrapper for dbus_message_unref
to let virsystemd.c build without dbus, while still allowing
virsystemdtest to run without SYSTEM_DAEMON.
src/util/virdbus.c
src/util/virdbus.h
src/util/virsystemd.c