acrn-hypervisor/hypervisor/arch/x86/guest
Victor Sun 04d82e5c0f HV: return virtual lapic id in vcpuid 0b leaf
Currently vlapic id of SOS VM is virtualized, it is indexed by vcpuid in
physical APIC id sequence, but CPUID 0BH leaf still report physical
APIC ID. In SDC/INDUSTRY scenario they are identical mapping so no issue
occured. In hybrid mode this would be a problem because vAPIC ID might
be different with pAPIC ID. We need to make the APIC ID which returned from
CPUID consistent with the one returned from LAPIC register.

Tracked-On: #3214

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-06-06 15:22:10 +08:00
..
assign.c hv: distinguish between LAPIC_PASSTHROUGH configured vs enabled 2019-05-23 11:15:31 +08:00
ept.c hv:remove accessing shared log buffer cases between stac/clac 2019-05-05 10:00:32 +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: use term of UUID 2019-04-12 13:45:32 +08:00
ucode.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
vcpu.c hv: distinguish between LAPIC_PASSTHROUGH configured vs enabled 2019-05-23 11:15:31 +08:00
vcpuid.c HV: return virtual lapic id in vcpuid 0b leaf 2019-06-06 15:22:10 +08:00
virq.c HV: remove unused function vcpu_inject_ac 2019-05-22 16:36:03 +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: return -1 with invalid vcpuid in pt icr access 2019-06-06 15:22:10 +08:00
vm_reset.c hv: initial host reset implementation 2019-05-23 18:24:17 +08:00
vm.c HV: remove cpu_num from vm configurations 2019-06-06 15:22:10 +08:00
vmcall.c HV: check vm id param when dispatching hypercall 2019-04-26 16:21:14 +08:00
vmcs.c hv: distinguish between LAPIC_PASSTHROUGH configured vs enabled 2019-05-23 11:15:31 +08:00
vmexit.c hv: shutdown guest VM upon triple fault exceptions 2019-05-15 11:20:12 +08:00
vmsr.c hv: vmsr: present sgx related msr to guest 2019-05-29 11:24:13 +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: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