[libvirt] [PATCHv2 0/2] Check if systemd is the init before creating machines

Ján Tomko jtomko at redhat.com
Mon Mar 3 15:47:44 UTC 2014


v1: https://www.redhat.com/archives/libvir-list/2014-February/msg01662.html
v2: check if systemd1 is registered in ListNames
    instead of reading /proc/1/comm
    actually pass 'make check' in all three cases:
        * no systemd
        * systemd installed
        * systemd running

Ján Tomko (2):
  Split out most of virDBusIsServiceEnabled
  Check if systemd is running before creating machines

 src/util/virdbus.c     | 47 +++++++++++++++++++++++++++++++++++++----------
 src/util/virdbus.h     |  1 +
 src/util/virsystemd.c  |  6 ++++++
 tests/virsystemdmock.c | 24 +++++++++++++++++++++++-
 tests/virsystemdtest.c | 37 +++++++++++++++++++++++++++++++++++++
 5 files changed, 104 insertions(+), 11 deletions(-)

-- 
1.8.3.2




More information about the libvir-list mailing list