]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: Add destroy support for suspended domains
authorRichard Weinberger <richard@nod.at>
Fri, 14 Feb 2014 15:42:48 +0000 (16:42 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 20 Feb 2014 09:46:31 +0000 (10:46 +0100)
commit39aad72510a324cb50c20d5082fa0fe0edf1e565
treeb26f7fe5690ae7b28c7eda8373b9caee06151d3d
parent057d26b2ac05dc3d25e908ccadafe78f89c38833
lxc: Add destroy support for suspended domains

Destroying a suspended domain needs special action.
We cannot simply terminate all process because they are frozen.
Do deal with that we send them SIGKILL and thaw them.
Upon wakeup the process sees the pending signal and dies immediately.

Signed-off-by: Richard Weinberger <richard@nod.at>
src/lxc/lxc_process.c