]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virdbus: Add virDBusHasSystemBus()
authorPeter Krempa <pkrempa@redhat.com>
Mon, 19 Aug 2013 09:24:04 +0000 (11:24 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 19 Aug 2013 14:27:51 +0000 (16:27 +0200)
commit2398dd3d3ea2e060318abd3d9346ad65df910803
treed96bf3395a0748033712f90d36f71930b9425ce1
parent39d963d1c0090fab56ac4998f81ec7aabd0cfe00
virdbus: Add virDBusHasSystemBus()

Some systems may not use DBus in their system. Add a method to check if
the system bus is available that doesn't print error messages so that
code can later check for this condition and use an alternative approach.
src/libvirt_private.syms
src/util/virdbus.c
src/util/virdbus.h