acrn-hypervisor/hypervisor/include/common
Yin Fegnwei 7a71422a6d hv: handle cpu offline request in idle thread
Change need_scheduled fileds of schedule context to flags because
it's not only used for need_schedule check.

Add two functions to request/handle cpu offline.

The reason we only handle cpu offline request in idle thread is
that we should pause the vcpu running on target pcpu. Then it's
only possible that target pcpu get cpu offline request in idle
thread.

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
..
acrn_efi.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hypercall.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
schedule.h hv: handle cpu offline request in idle thread 2018-06-07 15:36:46 +08:00