lguest: map_switcher_in_guest() per-vcpu
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Mon, 7 Jan 2008 13:05:30 +0000 (11:05 -0200)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 30 Jan 2008 11:50:09 +0000 (22:50 +1100)
commit0c78441cf4dd66f66e23dc085f0cc1e3e8669b96
tree33216420c6300df9a345247dc6e0b669ce5b2198
parent177e449dc5bd4cf8dc48d66abee61ddf34b126b9
lguest: map_switcher_in_guest() per-vcpu

The switcher needs to be mapped per-vcpu, because different vcpus
will potentially have different page tables (they don't have to,
because threads will share the same).

So our first step is the make the function receive a vcpu struct

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/lg.h
drivers/lguest/page_tables.c
drivers/lguest/x86/core.c