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

Michal Privoznik mprivozn at redhat.com
Wed Aug 14 12:25:21 UTC 2019


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 at redhat.com>

Michal




More information about the libvir-list mailing list