acrn-hypervisor/hypervisor/arch/x86/guest
Yuan Liu f320130d58 HV: Add walk_ept_table and get_ept_entry APIs
The walk_ept_table API is used to walk through EPT table for getting
all of present pages, user can get each page entry and its size
from the walk_ept_table callback.

The get_ept_entry is used to getting EPT pointer of the vm, if current
context of mv is secure world, return secure world EPT pointer, otherwise
return normal world EPT pointer.

Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Reviewed-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-06-20 09:32:55 +08:00
..
assign.c hv: Introduce check_vm_vlapic_state API 2019-06-14 13:55:26 +08:00
ept.c HV: Add walk_ept_table and get_ept_entry APIs 2019-06-20 09:32:55 +08:00
guest_memory.c HV: remove unused function copy_to_gva 2019-05-22 16:36:03 +08:00
instr_emul.c hv: instr_emul: fix movzx return memory opsize wrong 2019-05-13 11:53:51 +08:00
pm.c HV: validate pstate by checking px ctl range 2019-05-24 11:36:54 +08:00
trusty.c hv: ept: unify EPT API name to verb-object style 2019-06-14 14:40:25 +08:00
ucode.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vcpu.c hv: Introduce check_vm_vlapic_state API 2019-06-14 13:55:26 +08:00
vcpuid.c HV: return virtual lapic id in vcpuid 0b leaf 2019-06-06 15:22:10 +08:00
virq.c HV:Modularize vpic code to remove usage of acrn_vm 2019-06-13 09:54:52 +08:00
virtual_cr.c hv: vmcs: don't trap when setting reserved bit in cr0/cr4 2019-05-30 11:33:01 +08:00
vlapic_priv.h hv: vlapic: add apic register offset check API 2019-04-23 15:16:56 +08:00
vlapic.c hv: vlapic: clear which access type we support for APIC-Access VM Exit 2019-06-20 08:53:25 +08:00
vm_reset.c hv: initial host reset implementation 2019-05-23 18:24:17 +08:00
vm.c hv: ept: unify EPT API name to verb-object style 2019-06-14 14:40:25 +08:00
vmcall.c HV: introduce relative vm id for hcall api 2019-06-12 11:00:40 +08:00
vmcs.c hv: distinguish between LAPIC_PASSTHROUGH configured vs enabled 2019-05-23 11:15:31 +08:00
vmexit.c xsave: inject GP when guest tries to write 1 to XCR0 reserved bit 2019-06-12 08:28:53 +08:00
vmsr.c hv: vmsr: present sgx related msr to guest 2019-05-29 11:24:13 +08:00
vmtrr.c hv: ept: unify EPT API name to verb-object style 2019-06-14 14:40:25 +08:00
vmx_asm.S hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
vmx_io.c HV: rename 'type' in struct io_request 2019-05-06 18:25:20 +08:00