]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: Generic memory region handling on cell destruction
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 27 Dec 2013 13:10:49 +0000 (14:10 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 27 Dec 2013 13:39:59 +0000 (14:39 +0100)
commitb0779321d3910a08495ed4fdc26b4d84f3426c88
tree8e2060aea8a763fb2688ecfe89ad4380bb9bb41c
parent1de14d6b1f71fe27366a1a0141747bf5cd46c590
core: Generic memory region handling on cell destruction

Most of vmx_remap_to_linux and also the memory region loop in
vmx_cell_exit are generic and can be reused for adding VT-d support and,
later on, different architectures. So move the generic bits to the core
and provide arch_map_memory_region and arch_unmap_memory_region instead.

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