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
sched_iorr.c hv: sched_iorr: add some interfaces implementation of sched_iorr 2019-12-11 09:31:39 +08:00
sched_noop.c
schedule.c HV: Remove INIT signal notification related code 2019-12-16 16:54:30 +08:00
softirq.c
trusty_hypercall.c
vm_load.c hv:refine 'uint64_t' string print format in comm moudle 2019-11-09 11:42:38 +08:00