]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc8244cd4f4314a0f3472fd5c2c33308c935d3c4b
tree75b499710ee82715c864d5787383ad35a9cd47bd
parent1870a7b199e87a0d07b267602526f6a7c955c5c9
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