mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-29 12:35:48 +00:00
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>