tools: acrn-manager: Fix acrnctl mistake displaying suspended to paused

When UOS is sleeping, 'acrnctl list' command show it is 'paused', not
'suspended'. That is not correct. Because pausing an UOS means to block
its VCPUs immediately, otherwise suspending an UOS means to put it to
sleep.

Tracked-On: #1910
Acked-by: Yan, Like <like.yan@intel.com>
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
This commit is contained in:
yuhong.tao@intel.com
2018-11-23 09:55:52 +00:00
committed by lijinxia
parent e1d0f7e432
commit 2f33d1bcf2
4 changed files with 9 additions and 7 deletions

View File

@@ -18,6 +18,7 @@ enum vm_state {
VM_CREATED, /* VM created / awaiting start (boot) */
VM_STARTED, /* VM started (booted) */
VM_PAUSED, /* VM paused */
VM_SUSPENDED, /* VM suspended */
VM_UNTRACKED, /* VM not created by acrnctl, or its launch script can change vm name */
};