acrn-hypervisor/hypervisor/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.c hv: debug: Add hv console callback to VM-exit event 2021-07-22 10:08:23 +08:00
dbg_cmd.c doc: update BDF information for 'uart=' hypervisor parameter 2021-03-23 13:54:10 -07:00
dump.c hv: cache: wrap common APIs 2021-05-14 09:18:00 +08:00
hypercall.c hv: hypercalls: refactor permission-checking and dispatching logic 2021-05-12 13:43:41 +08:00
logmsg.c hv/mod_timer: split tsc handling code from timer. 2021-05-18 16:43:28 +08:00
Makefile HV: makefile: to avoid duplicated build libs 2020-05-21 15:12:21 +08:00
npk_log.c hv: paging: rename ppt_set/clear_ATTR to set_paging_ATTR 2021-05-14 09:18:00 +08:00
printf.c hv:cleanup header files for debug folder 2019-02-27 11:12:48 +08:00
profiling.c hv/mod_timer: split tsc handling code from timer. 2021-05-18 16:43:28 +08:00
sbuf.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
shell_priv.h hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
shell.c hv: some coding style fixes 2021-05-12 16:50:34 +08:00
string.c hv:cleanup header files for debug folder 2019-02-27 11:12:48 +08:00
trace.c hv/mod_timer: split tsc handling code from timer. 2021-05-18 16:43:28 +08:00
uart16550.c hv: deny access to HV owned legacy PIO UART from SOS 2021-06-08 16:16:14 +08:00