acrn-hypervisor/hypervisor/arch/x86/guest
Yin Fegnwei fbeafd500a hv: add API to get the vcpu mapped to specific pcpu.
Per performance consideration, we don't flush vcpu context when doing
vcpu swithing (because it's only swithing between vcpu and idle).

But when enter S3, we need to call vmclear against all vcpus attached
to APs. We need to know which vcpu is attached with which pcpu.

This patch introduced API to get vcpu mapped to specific pcpu.

Signed-off-by: Yin Fegnwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <Eddie.dong@intel.com>
2018-06-07 15:36:46 +08:00
..
guest.c hv: set start mode of vcpu 2018-06-01 19:14:13 +08:00
instr_emul.c hv: support gva2gpa in different paging modes 2018-06-01 19:14:13 +08:00
instr_emul.h HV:remove redundant field 'mmio' from 'struct emul_cnx' 2018-05-23 11:43:56 +08:00
instr_emul_wrapper.c HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
instr_emul_wrapper.h HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
pm.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
ucode.c hv: support gva2gpa in different paging modes 2018-06-01 19:14:13 +08:00
vcpu.c hv: add API to get the vcpu mapped to specific pcpu. 2018-06-07 15:36:46 +08:00
vioapic.c HV: debug: stop using ## __VA_ARGS__ 2018-05-29 14:13:44 +08:00
vlapic.c lapic: continuous LVT registers as an array 2018-05-30 13:52:11 +08:00
vlapic_priv.h hv: vlapic_timer: refine vlapic tscdeadline timer 2018-05-15 18:03:33 +08:00
vm.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vmcall.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vmsr.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vpic.c HV: debug: stop using ## __VA_ARGS__ 2018-05-29 14:13:44 +08:00