acrn-hypervisor/hypervisor/arch/x86/guest
Vijay Dhanraj fa0a658692 HV: Add support to assign non-contiguous HPA regions for pre-launched VM
On some platforms, HPA regions for Virtual Machine can not be
contiguous because of E820 reserved type or PCI hole. In such
cases, pre-launched VMs need to be assigned non-contiguous memory
regions and this patch addresses it.

To keep things simple, current design has the following assumptions,
	1. HPA2 always will be placed after HPA1
	2. HPA1 and HPA2 don’t share a single ve820 entry.
	(Create multiple entries if needed but not shared)
	3. Only support 2 non-contiguous HPA regions (can extend
	at a later point for multiple non-contiguous HPA)

Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Tracked-On: #4195
Acked-by: Anthony Xu <anthony.xu@intel.com>
2019-12-10 09:52:18 +08:00
..
assign.c hv: pci: update "union pci_bdf" 2019-09-25 13:45:39 +08:00
ept.c hv: ept: mask EPT leaf entry bit 52 to bit 63 in gpa2hpa 2019-07-03 09:39:41 +08:00
guest_memory.c hv: cleanup vmcs.h 2019-08-22 14:13:15 +08:00
hyperv.c hv: support reference time enlightenment 2019-10-22 10:09:16 +08:00
instr_emul.c hv: fix Violations touched ACRN Coding Guidelines 2019-08-15 09:47:11 +08:00
pm.c hv:Wrap some APIs related with guest pm 2019-10-21 10:13:02 +08:00
trusty.c hv: sched: support vcpu context switch on one pcpu 2019-10-23 12:47:08 +08:00
ucode.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vcpu.c HV: Fix poweroff issue of hard RTVM 2019-10-31 10:55:29 +08:00
vcpuid.c hv: support minimum set of TLFS 2019-10-22 10:09:16 +08:00
virq.c hv: sched: add kick_thread to support notification 2019-10-25 13:00:21 +08:00
virtual_cr.c hv: vcr: check guest cr3 before loading pdptrs 2019-08-16 11:43:17 +08:00
vlapic_priv.h hv: add ops to vlapic structure 2019-07-19 16:47:06 +08:00
vlapic.c hv: sched: decouple scheduler from schedule framework 2019-10-25 13:00:21 +08:00
vm_reset.c hypervisor: handle reboot from non-privileged pre-launched guests 2019-12-10 09:52:18 +08:00
vm.c HV: Add support to assign non-contiguous HPA regions for pre-launched VM 2019-12-10 09:52:18 +08:00
vmcall.c hv: make hypercall HC_CREATE_VCPU empty 2019-09-24 11:58:45 +08:00
vmcs.c HV: Fix poweroff issue of hard RTVM 2019-10-31 10:55:29 +08:00
vmexit.c hv: sched: move pcpu_id from acrn_vcpu to thread_object 2019-10-23 12:47:08 +08:00
vmsr.c hv: sched: move pcpu_id from acrn_vcpu to thread_object 2019-10-23 12:47:08 +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: ept: disable execute right on large pages 2019-11-18 13:40:24 +08:00