]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add API for calling systemd-machined's DBus API
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 18 Jul 2013 09:54:21 +0000 (10:54 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 22 Jul 2013 12:09:58 +0000 (13:09 +0100)
commitdff93f8cabc146fe39517af3628e485da5a9bc6d
tree9a4dbe334cb76caa6b87e774e9c36311e2d64220
parent834c9c94592c18b67826bdda85ee50ffc31dae69
Add API for calling systemd-machined's DBus API

To register virtual machines and containers with systemd-machined,
and thus have cgroups auto-created, we need to talk over DBus.
This is somewhat tedious code, so introduce a dedicated function
to isolate the DBus call in one place.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
12 files changed:
.gitignore
build-aux/bracket-spacing.pl
include/libvirt/virterror.h
src/Makefile.am
src/libvirt_private.syms
src/util/virerror.c
src/util/virsystemd.c [new file with mode: 0644]
src/util/virsystemd.h [new file with mode: 0644]
tests/Makefile.am
tests/testutils.h
tests/virsystemdmock.c [new file with mode: 0644]
tests/virsystemdtest.c [new file with mode: 0644]