]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsystemd: Don't fail to start VM if DBus isn't available or compiled in
authorPeter Krempa <pkrempa@redhat.com>
Mon, 19 Aug 2013 09:34:39 +0000 (11:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 19 Aug 2013 14:31:57 +0000 (16:31 +0200)
commitee3db56fe9d47f547c07e7e0f6475e7f7a0eea7f
tree3f4f798265cf33803d682e9ea941949698cc8de3
parent2398dd3d3ea2e060318abd3d9346ad65df910803
virsystemd: Don't fail to start VM if DBus isn't available or compiled in

On hosts that don't have the DBus service running or installed the new
systemd cgroups code failed with hard error instead of falling back to
"manual" cgroup creation.

Use the new helper to check for the system bus and use the fallback code
in case it isn't available.
src/util/virsystemd.c