acrn-hypervisor/hypervisor/include/debug
Conghui Chen 4d88b2bb65 hv: bugfix for sbuf reset
The sbuf is allocated for each pcpu by hypercall from SOS. Before launch
Guest OS, the script will offline cpus, which will trigger vcpu reset and
then reset sbuf pointer. But sbuf only initiate once by SOS, so these
cpus for Guest OS has no sbuf to use. Thus, when run 'acrntrace' on SOS,
there is no trace data for Guest OS.
To fix the issue, only reset the sbuf for SOS.

Tracked-On: #3335
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com>
2019-06-27 15:40:19 +08:00
..
console.h HV: vuart: remove console related code from vuart 2019-04-29 15:25:39 +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: send IPI instead of irq injection to notify vcpu with lapic pt 2019-01-28 19:47:33 +08:00
npk_log.h hv: clean up function definitions in npk_log.h 2018-11-28 14:57:49 +08:00
profiling_internal.h HV: use term of UUID 2019-04-12 13:45:32 +08:00
profiling.h profiling: split profiling_vmexit_handler into two functions 2018-12-14 08:54:30 +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: clean up function definitions in trace.h 2018-11-28 14:57:49 +08:00
uart16550.h xHV: remove unused function is_dbg_uart_enabled 2019-05-22 16:36:03 +08:00