acrn-hypervisor/hypervisor/common
Shuo A Liu 655032e020 hv: HLT emulation in hypervisor
HLT emulation is import to CPU resource maximum utilization. vcpu
doing HLT means it is idle and can give up CPU proactively. Thus, we
pause the vcpu thread in HLT emulation and resume it while event happens.

When vcpu enter HLT, its vcpu thread will sleep, but the vcpu state is
still 'Running'.

VM ID    PCPU ID    VCPU ID    VCPU ROLE    VCPU STATE
=====    =======    =======    =========    ==========
  0         0          0       PRIMARY      Running
  0         1          1       SECONDARY    Running

Tracked-On: #4329
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2020-01-23 13:37:53 +08:00
..
event.c hv: sched: simple event implemention 2020-01-23 13:37:53 +08:00
hv_main.c hv: HLT emulation in hypervisor 2020-01-23 13:37:53 +08:00
hypercall.c hv: vcpu: wait and signal vcpu event support 2020-01-23 13:37:53 +08:00
ptdev.c hv: ptdev: move softirq_dev_entry_list from vm structure to per_cpu region 2019-09-16 09:36:52 +08:00
sched_iorr.c hv: sched_iorr: add some interfaces implementation of sched_iorr 2019-12-11 09:31:39 +08:00
sched_noop.c hv: sched: decouple scheduler from schedule framework 2019-10-25 13:00:21 +08:00
schedule.c HV: Remove INIT signal notification related code 2019-12-16 16:54:30 +08:00
softirq.c softirq: move softirq from hv_main to interrupt context 2019-07-22 09:55:06 +08:00
trusty_hypercall.c hv:remove redundant memset in some cases 2019-09-24 09:02:05 +08:00
vm_load.c hv:refine 'uint64_t' string print format in comm moudle 2019-11-09 11:42:38 +08:00