[libvirt] [PATCH] lxc: use common code for process cleanup

2011-11-03 Thread Eric Blake
Based on a Coverity report - the return value of waitpid() should always be checked, to avoid problems with leaking resources. * src/lxc/lxc_controller.c (lxcControllerRun): Use simpler virPidAbort. --- Daniel previously said to wait until after the lxc multi-console patches were in before

Re: [libvirt] [PATCH] lxc: use common code for process cleanup

2011-11-03 Thread Daniel P. Berrange
On Thu, Nov 03, 2011 at 08:45:45AM -0600, Eric Blake wrote: Based on a Coverity report - the return value of waitpid() should always be checked, to avoid problems with leaking resources. * src/lxc/lxc_controller.c (lxcControllerRun): Use simpler virPidAbort. --- Daniel previously said to

Re: [libvirt] [PATCH] lxc: use common code for process cleanup

2011-11-03 Thread Eric Blake
On 11/03/2011 08:48 AM, Daniel P. Berrange wrote: On Thu, Nov 03, 2011 at 08:45:45AM -0600, Eric Blake wrote: Based on a Coverity report - the return value of waitpid() should always be checked, to avoid problems with leaking resources. * src/lxc/lxc_controller.c (lxcControllerRun): Use