[libvirt] [PATCH 0/3] virNetDaemonCallInhibit: check for logind availability

Ján Tomko jtomko at redhat.com
Tue Aug 13 15:08:03 UTC 2019


* get rid of a pointless error logged when system D-Bus is not available
* do not send messages on systems without logind
* remove four extra dbus calls on libvirtd startup when checking for
  logind availability

Ján Tomko (3):
  util: introduce virSystemdHasLogind
  util: cache the result of whether logind is available
  rpc: make virNetDaemonCallInhibit a no-op with no logind

 src/libvirt_private.syms  |  2 ++
 src/rpc/virnetdaemon.c    |  3 +++
 src/util/virsystemd.c     | 37 ++++++++++++++++++++++++++++++++-----
 src/util/virsystemd.h     |  2 ++
 src/util/virsystemdpriv.h |  1 +
 tests/virsystemdtest.c    |  3 +++
 6 files changed, 43 insertions(+), 5 deletions(-)

-- 
2.19.2




More information about the libvir-list mailing list