acrn-hypervisor/hypervisor/arch/x86/guest
Vijay Dhanraj 6e8b413689 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-09 11:28:38 +08:00
..
assign.c hv: remove corner case in ptirq_prepare_msix_remap 2019-12-05 16:43:22 +08:00
ept.c hv: refine 'uint64_t' string print format in x86 moudle 2019-11-09 11:42:38 +08:00
guest_memory.c hv: refine 'uint64_t' string print format in x86 moudle 2019-11-09 11:42:38 +08:00
hyperv.c hv: refine 'uint64_t' string print format in x86 moudle 2019-11-09 11:42:38 +08:00
instr_emul.c hv: instr_emul: use cs segment when fetching instructions 2019-11-11 13:55:24 +08:00
pm.c hv:Wrap some APIs related with guest pm 2019-10-21 10:13:02 +08:00
trusty.c hv: support xsave in context switch 2019-12-02 09:31:12 +08:00
ucode.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vcpu.c hv: do not sleep a non-RUNNING vcpu 2019-12-05 11:19:35 +08:00
vcpuid.c hv: support minimum set of TLFS 2019-10-22 10:09:16 +08:00
virq.c hv: make init_vmcs as a event of VCPU 2019-12-02 16:20:43 +08:00
virtual_cr.c hv: refine 'uint64_t' string print format in x86 moudle 2019-11-09 11:42:38 +08:00
vlapic_priv.h hv: add ops to vlapic structure 2019-07-19 16:47:06 +08:00
vlapic.c hv: make init_vmcs as a event of VCPU 2019-12-02 16:20:43 +08:00
vm_reset.c hypervisor: handle reboot from non-privileged pre-launched guests 2019-12-09 11:27:32 +08:00
vm.c HV: Add support to assign non-contiguous HPA regions for pre-launched VM 2019-12-09 11:28:38 +08:00
vmcall.c hv: refine 'uint64_t' string print format in x86 moudle 2019-11-09 11:42:38 +08:00
vmcs.c hv: bugfix for debug commands with smp_call 2019-12-05 11:19:35 +08:00
vmexit.c HV: trace leaf and subleaf of cpuid 2019-12-03 16:34:14 +08:00
vmsr.c hv: sync physical and virtual TSC_DEADLINE when msr interception enabled/disabled 2019-12-02 16:10:50 +08:00
vmtrr.c hv: refine 'uint64_t' string print format in x86 moudle 2019-11-09 11:42:38 +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-13 08:00:36 +08:00