mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
hv: pgtable: remove alloc_ept_page
alloc_page/free_page should been called in pagetable module. In order to do this, we add pgtable_create_root and pgtable_create_trusty_root to create PML4 page table page for normal world and secure world. After this done, no one uses alloc_ept_page. So remove it. Tracked-On: #5830 Signed-off-by: Li Fei1 <fei1.li@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -446,8 +446,3 @@ void walk_ept_table(struct acrn_vm *vm, pge_handler cb)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
struct page *alloc_ept_page(struct acrn_vm *vm)
|
||||
{
|
||||
return alloc_page(vm->arch_vm.ept_pgtable.pool);
|
||||
}
|
||||
|
Reference in New Issue
Block a user