acrn-hypervisor/hypervisor/boot
Shuo A Liu 7e66c0d4fa hv: sched: use get_running_vcpu to replace per_cpu vcpu with cpu sharing
With cpu sharing enabled, per_cpu vcpu cannot work properly as we might
has multiple vcpus running on one pcpu.
Add a schedule API sched_get_current to get current thread_object on
specific pcpu, also add a vcpu API get_running_vcpu to get corresponding
vcpu of the thread_object.

Tracked-On: #3813
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Signed-off-by: Yu Wang <yu1.wang@intel.com>
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-10-23 12:47:08 +08:00
..
guest hv: sched: use get_running_vcpu to replace per_cpu vcpu with cpu sharing 2019-10-23 12:47:08 +08:00
include hv: add ACPI support for pre-launched VMs 2019-08-29 10:12:25 +08:00
acpi_base.c hv: create 8-bit sum function 2019-08-29 10:12:25 +08:00
cmdline.c hv: mmu: add hpa2hva_early API for earlt boot 2019-07-26 09:10:06 +08:00
dmar_info.c HV: enable Kconfig of ACPI_PARSE_ENABLED 2019-05-14 11:53:02 +08:00
reloc.c hv: cleanup some hva/hpa conversion code 2019-03-15 09:03:14 +08:00