]> git.ipfire.org Git - thirdparty/libvirt.git/commit
DBus: introduce virDBusIsServiceEnabled
authorGao feng <gaofeng@cn.fujitsu.com>
Wed, 11 Sep 2013 03:15:02 +0000 (11:15 +0800)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 11 Sep 2013 12:45:25 +0000 (13:45 +0100)
commit7ada155cdf2bbfac16ce08f64abb455a940e2cf7
tree5e7c392fe00f695c1a470470007b5f4f761e7304
parent66e2adb2ba2a93a5829617773ac27b68fd8c831a
DBus: introduce virDBusIsServiceEnabled

This patch introduces virDBusIsServiceEnabled, we can use
this method to get if the service is supported.

In one case, if org.freedesktop.machine1 is unavailable on
host, we should skip creating machine through systemd.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
src/util/virdbus.c
src/util/virdbus.h
src/util/virsystemd.c