[libvirt] [PATCH 0/4] Cache systemd presence

Ján Tomko jtomko at redhat.com
Thu Feb 23 11:53:05 UTC 2017


Reduce the number of DBus calls required, and possibly
the number of timeouts.

Ján Tomko (4):
  Unify checking for machine1 systemd service
  Use macros for testing virSystemd APIs
  Cache the presence of machine1 service
  Test virSystemd APIs twice to check the cache effects

 src/libvirt_private.syms  |  1 +
 src/util/virsystemd.c     | 55 +++++++++++++++++++++++++++++++++++------------
 src/util/virsystemdpriv.h | 33 ++++++++++++++++++++++++++++
 tests/virsystemdtest.c    | 40 ++++++++++++++++++----------------
 4 files changed, 96 insertions(+), 33 deletions(-)
 create mode 100644 src/util/virsystemdpriv.h

-- 
2.10.2




More information about the libvir-list mailing list