acrn-hypervisor/hypervisor/arch/x86/guest
Sainath Grandhi 6915264740 hv: Use virtual APIC IDs for Pre-launched VMs
For Pre-launched VMs, ACRN uses mptable for reporting APIC IDs to guest OS.
In current code, ACRN uses physical LAPIC IDs for vLAPIC IDs.
This patch is to let ACRN use vCPU id for vLAPIC IDs  and also report the same
when building mptable. ACRN should still use physical LAPIC IDs for SOS
because host ACPI tables are passthru to SOS.

Tracked-On: #2934
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
Acked-by: Eddie Dong <eddie.dong@Intel.com>
2019-04-11 20:04:58 +08:00
..
assign.c hv: Remove separate interrupt routine for pre-launched VMs 2019-04-04 17:51:36 +08:00
ept.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
guest_memory.c HV: Modularize boot folder 2019-03-14 09:05:53 +08:00
instr_emul.c hv: fix "Else alternative missing in if." 2019-04-03 09:20:55 +08:00
io_emul.c hv: add the support of vector remapping for pre-launched VMs 2019-04-04 17:51:36 +08:00
pm.c HV: Minor refinement about RTVM pm MACRO and comments 2019-04-04 00:27:55 +08:00
trusty.c hv: trusty: minor change of coding style 2019-04-02 21:38:17 +08:00
ucode.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vcpu.c HV: Using INIT to kick vCPUs off when RTVM poweroff by itself 2019-03-29 16:17:44 +08:00
vcpuid.c hv: disable mpx capability for guest 2019-03-20 13:07:31 +08:00
virq.c hv: Remove separate interrupt routine for pre-launched VMs 2019-04-04 17:51:36 +08:00
virtual_cr.c hv: vlapic: remove TPR set/get API 2019-03-25 13:31:51 -07:00
vlapic_priv.h hv: self-IPI APIC register in x2APIC mode of guest vLAPIC 2018-11-02 13:48:43 +08:00
vlapic.c hv: Use virtual APIC IDs for Pre-launched VMs 2019-04-11 20:04:58 +08:00
vm.c hv: add the support of vector remapping for pre-launched VMs 2019-04-04 17:51:36 +08:00
vmcall.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vmcs.c hv: vlapic: add combined constraint for APICv 2019-03-12 20:37:06 +08:00
vmexit.c HV: Using INIT to kick vCPUs off when RTVM poweroff by itself 2019-03-29 16:17:44 +08:00
vmsr.c Revert "hv: vmsr: add IA32_MISC_ENABLE to msr store area" 2019-03-26 13:59:21 +08:00
vmtrr.c hv: vmtrr: hide mtrr if hide_mtrr is true 2019-03-16 17:14:12 +08:00
vmx_asm.S hv: refine guest.h 2019-02-03 13:00:42 +08:00