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

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



On 8/13/19 5:08 PM, Ján Tomko wrote:
* 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(-)


Reviewed-by: Michal Privoznik <mprivozn redhat com>

Michal


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