commit | f73d1e6ca6985b43a1871467463cba632fbc624d | [log] [tgz] |
---|---|---|
author | Eugene Teo <eugeneteo@kernel.sg> | Sat Feb 09 23:53:17 2008 +0800 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Mar 11 09:35:56 2008 +1100 |
tree | 84b01e87f41bf960c58b6934142da31f6d1638eb | |
parent | cdeeeae056a429e729ae9e914fa8142ee45bee93 [diff] |
lguest: make sure cpu is initialized before accessing it If req is LHREQ_INITIALIZE, and the guest has been initialized before (unlikely), it will attempt to access cpu->tsk even though cpu is not yet initialized. Signed-off-by: Eugene Teo <eugeneteo@kernel.sg> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>