diff --git a/hypervisor/debug/console.c b/hypervisor/debug/console.c index 467a2981f..3456e80dc 100644 --- a/hypervisor/debug/console.c +++ b/hypervisor/debug/console.c @@ -98,7 +98,7 @@ static struct acrn_vuart *vuart_console_active(void) if (console_vmid < CONFIG_MAX_VM_NUM) { vm = get_vm_from_vmid(console_vmid); - if (!is_poweroff_vm(vm)) { + if (!is_paused_vm(vm) && !is_poweroff_vm(vm)) { vu = vm_console_vuart(vm); } else { /* Console vm is invalid, switch back to HV-Shell */