]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: cache the result of whether logind is available
authorJán Tomko <jtomko@redhat.com>
Tue, 13 Aug 2019 14:34:30 +0000 (16:34 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 14 Aug 2019 14:22:13 +0000 (16:22 +0200)
commitdd16434a2ac1deb403a3d802a9a6cc22f64e0b6d
tree1c1b05a58b987873e5fdf4a49d6308e998b8b9fd
parent81177ff4de66257494f09ad2fe75dfdd86acd8fc
util: cache the result of whether logind is available

Similar to how we cache the availability of machined.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt_private.syms
src/util/virsystemd.c
src/util/virsystemdpriv.h
tests/virsystemdtest.c