acrn-hypervisor/hypervisor/debug
Kaige Fu 0166ec4b71 HV: debug: Check if vUART is configured in partition mode
If vUART is not configured in partition mode and we try to connect vm's console
through sos_console vmid, it will trigger crash of HV.

This patch check whether vUART is configured. If no, just print out "No vUART
configured for xxx" and return.

Tracked-On: #1160
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
2018-10-26 09:17:12 +08:00
..
console.c hv:clear up the usage of printf data struct 2018-09-28 16:40:07 +08:00
dump.c HV:fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +08:00
logmsg.c HV:fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +08:00
npk_log.c hv: fix 'No brackets to then/else' 2018-10-11 16:48:11 +08:00
printf.c hv:Clear up printf related definition 2018-09-28 13:59:38 +08:00
sbuf.c HV:fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +08:00
shell.c HV: debug: Check if vUART is configured in partition mode 2018-10-26 09:17:12 +08:00
shell_priv.h hv: Fix identifier reuse 2018-10-15 09:04:34 +08:00
uart16550.c hv:clear up the usage of printf data struct 2018-09-28 16:40:07 +08:00
uart16550.h hv:clear up the usage of printf data struct 2018-09-28 16:40:07 +08:00
vuart.c HV:fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +08:00