[Lguest] [PATCH 09/16] map_switcher_in_guest() per-vcpu

Rusty Russell rusty at rustcorp.com.au
Wed Dec 26 10:47:35 EST 2007


On Friday 21 December 2007 00:33:49 Glauber de Oliveira Costa wrote:
> 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

Hmm, I wonder if we should call it lg_vcpu: lguest_vcpu is a little long, and 
in total adds a fair number of lines to the code :)

Rusty.



More information about the Lguest mailing list