acrn-hypervisor/hypervisor/include/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.h hv: vmx: add vpid support 2018-06-04 17:11:15 +08:00
pm.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
ucode.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vcpu.h hv: add API to get the vcpu mapped to specific pcpu. 2018-06-07 15:36:46 +08:00
vioapic.h initial import 2018-05-11 14:44:28 +08:00
vlapic.h hv: vlapic: simple vlapic_rd/wr input 2018-05-15 17:19:38 +08:00
vm.h vm: remove current_vcpu from vm structure 2018-06-07 12:28:18 +08:00
vpic.h initial import 2018-05-11 14:44:28 +08:00