On Fri, Jul 27, 2012 at 13:57:32 +0100, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange(a)redhat.com>
Move the code that handles the LXC monitor out of the
lxc_process.c file and into lxc_monitor.{c,h}
Signed-off-by: Daniel P. Berrange <berrange(a)redhat.com>
---
po/POTFILES.in | 1 +
src/Makefile.am | 1 +
src/lxc/lxc_domain.h | 4 +-
src/lxc/lxc_monitor.c | 165 +++++++++++++++++++++++++++++++++++++++++++++++++
src/lxc/lxc_monitor.h | 54 ++++++++++++++++
src/lxc/lxc_process.c | 73 +++++++++++++---------
6 files changed, 267 insertions(+), 31 deletions(-)
create mode 100644 src/lxc/lxc_monitor.c
create mode 100644 src/lxc/lxc_monitor.h
ACK
Jirka