]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add APIs for talking to init via /dev/initctl
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 28 Nov 2012 12:17:31 +0000 (12:17 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 30 Nov 2012 19:17:30 +0000 (19:17 +0000)
commitc4ef575c974f6f5bd814c5600ca4934a5f00bc81
treee93a2db4245dcb2d371848d106a3d807b00aa936
parenta21f51121d340e1c0cbd6c9640ae528ba6c187d5
Add APIs for talking to init via /dev/initctl

To be able todo controlled shutdown/reboot of containers an
API to talk to init via /dev/initctl is required. Fortunately
this is quite straightforward to implement, and is supported
by both sysvinit and systemd. Upstart support for /dev/initctl
is unclear.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
include/libvirt/virterror.h
po/POTFILES.in
src/Makefile.am
src/libvirt_private.syms
src/util/virinitctl.c [new file with mode: 0644]
src/util/virinitctl.h [new file with mode: 0644]
src/util/virterror.c