]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Cope with races while killing processes
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 26 Jul 2013 15:02:22 +0000 (16:02 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 31 Jul 2013 18:27:28 +0000 (19:27 +0100)
commit75304eaa1a08b23e5206b352403de7d296fc069e
tree7e83feac3152844a2711ae0e019a060577384daf
parentaedd46e7e32956b4f360ba631b47064c2bafcbff
Cope with races while killing processes

When systemd is involved in managing processes, it may start
killing off & tearing down croups associated with the process
while we're still doing virCgroupKillPainfully. We must
explicitly check for ENOENT and treat it as if we had finished
killing processes

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