acrn-hypervisor/hypervisor/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.c HV: fix expression is not boolean 2019-06-21 09:04:44 +08:00
dbg_cmd.c HV: remove 'vuart' from debug command list 2019-04-29 15:25:39 +08:00
dump.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
hypercall.c hv:cleanup header files for debug folder 2019-02-27 11:12:48 +08:00
logmsg.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
Makefile hv:fix a bug for building debug/release lib 2019-06-26 15:22:57 +08:00
npk_log.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
printf.c hv:cleanup header files for debug folder 2019-02-27 11:12:48 +08:00
profiling.c vm_state: Update vm state VM_STATE_INVALID to VM_POWERED_OFF 2019-05-08 16:58:41 +08:00
sbuf.c hv: bugfix for sbuf reset 2019-06-27 15:40:19 +08:00
shell_priv.h HV: Debug: Add version command 2019-06-24 18:52:18 +08:00
shell.c HV: Debug: Add version command 2019-06-24 18:52:18 +08:00
string.c hv:cleanup header files for debug folder 2019-02-27 11:12:48 +08:00
trace.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
uart16550.c xHV: remove unused function is_dbg_uart_enabled 2019-05-22 16:36:03 +08:00