lguest: fix lguest wake on guest clock tick, or fd activity
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 13 Jun 2009 04:27:01 +0000 (22:27 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:57:01 +0000 (22:27 +0930)
commita6c372de6e4b9a8188b66badcee3e3792eccdd26
treeb6b67f4cc447cc0ee8ae617bb503ef7d7f6e4958
parentb43e352139f51216a8c56b0bd5fc3d4e05c65619
lguest: fix lguest wake on guest clock tick, or fd activity

The Launcher could be inside the Guest on another CPU; wake_up_process
will do nothing because it is "running".  kick_process will knock it
back into our kernel in this case, otherwise we'll miss it until the
next guest exit.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/interrupts_and_traps.c
drivers/lguest/lguest_user.c