[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



* 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]