[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 4/4] Implement virDomainSendProcessSignal for LXC driver



On 11/28/12 12:31, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange redhat com>

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 validate whether a host PID corresponds
    to a process in a container.

* src/lxc/lxc_driver.c: Allow sending processes signals
---
  src/lxc/lxc_driver.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++
  1 file changed, 73 insertions(+)


ACK.

Peter


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]