acrn-hypervisor/hypervisor/include
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
..
arch/x86 hv: sched: use get_running_vcpu to replace per_cpu vcpu with cpu sharing 2019-10-23 12:47:08 +08:00
common hv: sched: use get_running_vcpu to replace per_cpu vcpu with cpu sharing 2019-10-23 12:47:08 +08:00
debug SEP/SOCWATCH change variable names 2019-09-16 15:54:34 +08:00
dm hv:tiny cleanup 2019-09-05 09:58:47 +08:00
hw hv: vpci: remove pci_msi_cap in pci_pdev 2019-10-14 15:09:03 +08:00
lib hv: add ACPI support for pre-launched VMs 2019-08-29 10:12:25 +08:00
public hv: make hypercall HC_CREATE_VCPU empty 2019-09-24 11:58:45 +08:00