Re: [RFC PATCH] 2.6.22.6 user-mode linux: before abort, we make it sure all children quit

2007-09-25 Thread Jeff Dike
On Sat, Sep 22, 2007 at 04:01:24PM +0800, lepton wrote: > In a stock 2.6.22.6 kernel, poweroff a user mode linux guest > (2.6.22.6 running in skas0 mode) will halt the host linux. I > think the reason is the kernel thread abort because of a bug. > Then the sys_reboot in process of user mode

Re: [RFC PATCH] 2.6.22.6 user-mode linux: before abort, we make it sure all children quit

2007-09-25 Thread Jeff Dike
On Sat, Sep 22, 2007 at 04:01:24PM +0800, lepton wrote: In a stock 2.6.22.6 kernel, poweroff a user mode linux guest (2.6.22.6 running in skas0 mode) will halt the host linux. I think the reason is the kernel thread abort because of a bug. Then the sys_reboot in process of user mode linux

[RFC PATCH] 2.6.22.6 user-mode linux: before abort, we make it sure all children quit

2007-09-22 Thread lepton
In a stock 2.6.22.6 kernel, poweroff a user mode linux guest (2.6.22.6 running in skas0 mode) will halt the host linux. I think the reason is the kernel thread abort because of a bug. Then the sys_reboot in process of user mode linux guest is not trapped by the user mode linux kernel and is

[RFC PATCH] 2.6.22.6 user-mode linux: before abort, we make it sure all children quit

2007-09-22 Thread lepton
In a stock 2.6.22.6 kernel, poweroff a user mode linux guest (2.6.22.6 running in skas0 mode) will halt the host linux. I think the reason is the kernel thread abort because of a bug. Then the sys_reboot in process of user mode linux guest is not trapped by the user mode linux kernel and is