]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Implement virDomainSendProcessSignal for LXC driver
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 15 Nov 2011 15:26:32 +0000 (15:26 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 29 Nov 2012 15:50:12 +0000 (15:50 +0000)
commit992ed55fea86fbfd254f98f8a9525fd15539a4e4
tree486dcf8821cfc504eac7dc14bd6c295df56c9ca2
parentd9a52520c732579484df76719be84fb45cfcbd8a
Implement virDomainSendProcessSignal for LXC driver

Implement the new API for sending signals to processes in a guest
for the LXC driver. Only support sending signals to the init
process for now, because

 - The kernel does not appear to expose the mapping between
   container PID numbers and host PID numbers anywhere in the
   host OS namespace
 - There is no race-free way to validate whether a host PID
   corresponds to a process in a container.

* src/lxc/lxc_driver.c: Allow sending processes signals

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_driver.c