]> git.proxmox.com Git - mirror_lxc.git/commit
Allow multiple monitor clients
authorDwight Engen <dwight.engen@oracle.com>
Wed, 24 Apr 2013 19:06:20 +0000 (15:06 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 24 Apr 2013 23:38:26 +0000 (01:38 +0200)
commite51d4895129209cec1c15bda2322136a03ec94b2
tree7111ac74adb8e0a80a82b5f9aec04dca4deb4b02
parentdc7f65454ee88fbd50f4d6f8a7c567eb27107314
Allow multiple monitor clients

This fixes a long standing issue that there could only be a single
lxc-monitor per container.

With this change, a new lxc-monitord daemon is spawned the first time
lxc-monitor is called against the container and will accept connections
from any subsequent lxc-monitor.

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
13 files changed:
.gitignore
doc/lxc-monitor.sgml.in
src/lxc/Makefile.am
src/lxc/lxc_console.c
src/lxc/lxc_monitor.c
src/lxc/lxc_monitord.c [new file with mode: 0644]
src/lxc/lxccontainer.c
src/lxc/mainloop.c
src/lxc/mainloop.h
src/lxc/monitor.c
src/lxc/monitor.h
src/lxc/start.c
src/lxc/utils.h