]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Embed page for EPT/NPT root_table into cell structure
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 1 Jul 2015 05:03:20 +0000 (07:03 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Wed, 1 Jul 2015 05:09:53 +0000 (07:09 +0200)
commitc5e0c147991814e7ff62a650b7bf8e7438f96b54
tree0d4af05d8e544fd88f22d80e851563fdce143f51
parent68a3e393700784dd91a17e7d144e248119bb5b07
x86: Embed page for EPT/NPT root_table into cell structure

Both Intel and AMD need this page and currently allocate it
programmatically. We can safe some logic, specifically error handling,
by reserving the page in the cell structure.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/include/asm/cell.h
hypervisor/arch/x86/svm.c
hypervisor/arch/x86/vmx.c