lguest: don't share Switcher PTE pages between guests.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Apr 2013 04:40:40 +0000 (14:10 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Apr 2013 06:15:01 +0000 (15:45 +0930)
commit3412b6ae2924e068f9932f841bdea0f2d8424502
tree75b499710ee82715c864d5787383ad35a9cd47bd
parentf1f394b1c33d93416c90f97e201d4d386c04af55
lguest: don't share Switcher PTE pages between guests.

We currently use the whole top PGD entry for the switcher, so we
simply share a fixed page of PTEs between all guests (actually, it's
one per Host CPU, to ensure isolation between guests).

Changes to a scheme where every guest has its own mappings.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/core.c
drivers/lguest/lg.h
drivers/lguest/page_tables.c