acrn-hypervisor/hypervisor/include/debug
Yifan Liu 69fef2e685 hv: debug: Add hv console callback to VM-exit event
In some scenarios (e.g., nested) where lapic-pt is enabled for a vcpu
running on a pcpu hosting console timer, the hv console will be
inaccessible.

This patch adds the console callback to every VM-exit event so that the
console can still be somewhat functional under such circumstance.

Since this is VM-exit driven, the VM-exit/second can be low in certain
cases (e.g., idle or running stress workload). In extreme cases where
the guest panics/hangs, there will be no VM-exits at all.

In most cases, the shell is laggy but functional (probably enough for
debugging purpose).

Tracked-On: #6312
Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
2021-07-22 10:08:23 +08:00
..
console.h hv: debug: Add hv console callback to VM-exit event 2021-07-22 10:08:23 +08:00
dbg_cmd.h hv:cleanup console.h 2019-02-27 11:12:48 +08:00
dump.h hv: clean up function definitions in dump.h 2018-11-28 14:57:49 +08:00
logmsg.h hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
npk_log.h hv: clean up function definitions in npk_log.h 2018-11-28 14:57:49 +08:00
profiling.h hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
profiling_internal.h hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
sbuf.h hv: bugfix for sbuf reset 2019-06-27 15:40:19 +08:00
shell.h hv:cleanup console.h 2019-02-27 11:12:48 +08:00
trace.h hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
uart16550.h hv: deny access to HV owned legacy PIO UART from SOS 2021-06-08 16:16:14 +08:00