Tools: cleanup acrn_mngr pause/continue message

The 'pause/continue' acrnctl cmd is never used and their action are not
defined for ACRN VMs. should be removed. Remove them from acrn_mngr.

Tracked-On: #4790
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com>
This commit is contained in:
yuhong.tao@intel.com 2020-05-09 09:57:42 +00:00 committed by wenlingz
parent bd5e6cec50
commit 5a4e488872

View File

@ -39,7 +39,7 @@ struct mngr_msg {
/* Arguments to rescan virtio-blk device */ /* Arguments to rescan virtio-blk device */
char devargs[PARAM_LEN]; char devargs[PARAM_LEN];
/* ack of DM_STOP, DM_SUSPEND, DM_RESUME, DM_PAUSE, DM_CONTINUE, /* ack of DM_STOP, DM_SUSPEND, DM_RESUME,
ACRND_TIMER, ACRND_STOP, ACRND_RESUME, RTC_TIMER */ ACRND_TIMER, ACRND_STOP, ACRND_RESUME, RTC_TIMER */
int err; int err;
@ -94,8 +94,6 @@ enum dm_msgid {
DM_STOP = MSG_MAX + 1, /* Stop this UOS */ DM_STOP = MSG_MAX + 1, /* Stop this UOS */
DM_SUSPEND, /* Suspend this UOS from running state */ DM_SUSPEND, /* Suspend this UOS from running state */
DM_RESUME, /* Resume this UOS from suspend state */ DM_RESUME, /* Resume this UOS from suspend state */
DM_PAUSE, /* Freeze this virtual machine */
DM_CONTINUE, /* Unfreeze this virtual machine */
DM_QUERY, /* Ask power state of this UOS */ DM_QUERY, /* Ask power state of this UOS */
DM_BLKRESCAN, /* Rescan virtio-blk device for any changes in UOS */ DM_BLKRESCAN, /* Rescan virtio-blk device for any changes in UOS */
DM_MAX, DM_MAX,