[libvirt] [PATCH] Fix virsystemdtest without SYSTEMD_DAEMON

Eric Blake eblake at redhat.com
Mon Apr 14 22:47:02 UTC 2014


On 04/14/2014 11:50 AM, Ján Tomko wrote:
> 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    |  9 +++++++++
>  src/util/virdbus.h    |  1 +
>  src/util/virsystemd.c | 11 +----------
>  3 files changed, 11 insertions(+), 10 deletions(-)

ACK; confirmed that it fixed the build for me on a RHEL 6 machine.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140414/ac4c87c8/attachment-0001.sig>


More information about the libvir-list mailing list