Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: acrnd: fix wait_for_stop() return wrong vm state
Ported form apl_sdc_stable branch. The wait_for_stop() first check if all VM are stopped or suspended. It first check if VMs are stopped, then check if they are suspend. If the VMs change state from running to stoped, after check VMs stopped fail, before start check suspend state. wait_for_stop() will mistake resopnse 'All vms have entered S3 state successfully' To fix that, wait_for_stop() must only update VMs's state once, and see if they are stopped, or suspended. Tracked-On: #2398 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Signed-off-by: Wei Liu <weix.w.liu@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Yan, Like <like.yan@intel.com>
- Loading branch information