[libvirt] [PATCH 4/4] Implement virDomainSendProcessSignal for LXC driver
Peter Krempa
pkrempa at redhat.com
Wed Nov 28 13:51:13 UTC 2012
On 11/28/12 12:31, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at 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
More information about the libvir-list
mailing list