mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-22 21:47:22 +00:00
tools: fix resuming vm issue in acrnd
This patch resolves vm state mismatch between vm and acrnd which causes vm resuming failure Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Yuhong Tao <yuhong.tao@intel.com> Reviewed-by: Like Yan <like.yan@intel.com>
This commit is contained in:
parent
6cd6e3d3cc
commit
7b34ae84fa
@ -141,7 +141,7 @@ static void _scan_alive_vm(void)
|
||||
case VM_SUSPEND_NONE:
|
||||
vm->state = VM_STARTED;
|
||||
break;
|
||||
case VM_SUSPEND_HALT:
|
||||
case VM_SUSPEND_SUSPEND:
|
||||
vm->state = VM_PAUSED;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user