acrn-hypervisor/hypervisor/debug
Yan, Like 51a76a93fb hv: save early hv logmsg before sos booted
Add percpu earlylog sbuf within hypervisor memory space to accommodate log
before sos booting, and copy the earlylog to SOS allocated sbuf at the first
do_logmsg after SOS sets the sbuf during booting.

With the patch, earlylog of hypervisor could be captured with acrnlog
service if SOS booted. And it may help debugging hv issue if SOS failed to
boot, with "logdump" command.

Signed-off-by: Yan, Like <like.yan@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2018-05-15 17:25:55 +08:00
..
console.c refine: remove redundant data type definition 2018-05-15 17:25:54 +08:00
dump.c initial import 2018-05-11 14:44:28 +08:00
logmsg.c hv: save early hv logmsg before sos booted 2018-05-15 17:25:55 +08:00
printf.c Move s[n]printf to lib for release 2018-05-15 17:19:37 +08:00
sbuf.c replace malloc and memset with calloc 2018-05-15 17:25:24 +08:00
serial.c initial import 2018-05-11 14:44:28 +08:00
serial_internal.h refine: remove redundant data type definition 2018-05-15 17:25:54 +08:00
shell_internal.c hv: shell: add cpuid command 2018-05-15 17:25:24 +08:00
shell_internal.h hv: shell: add cpuid command 2018-05-15 17:25:24 +08:00
shell_public.c hv: shell: add cpuid command 2018-05-15 17:25:24 +08:00
uart16550.c MMU: bug fix on operating va <=> pa convertion 2018-05-15 17:25:55 +08:00
uart16550.h initial import 2018-05-11 14:44:28 +08:00
vuart.c refine: remove redundant data type definition 2018-05-15 17:25:54 +08:00