mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-24 06:29:19 +00:00
DM: cleanup devicemodel monitor handle pause/continue msg request
The 'pause/continue' acrnctl cmd is never used and their action are not defined for ACRN VMs. Devicemodel minitor doesn't need to handle these 2 msg, should be removed. 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:
parent
27a66acd0e
commit
bc14dfb0bd
@ -338,8 +338,6 @@ static void name(struct mngr_msg *msg, int client_fd, void *param) \
|
||||
}
|
||||
|
||||
DEFINE_HANDLER(handle_suspend, suspend);
|
||||
DEFINE_HANDLER(handle_pause, pause);
|
||||
DEFINE_HANDLER(handle_continue, unpause);
|
||||
|
||||
static void handle_stop(struct mngr_msg *msg, int client_fd, void *param)
|
||||
{
|
||||
@ -489,8 +487,6 @@ int monitor_init(struct vmctx *ctx)
|
||||
ret += mngr_add_handler(monitor_fd, DM_STOP, handle_stop, NULL);
|
||||
ret += mngr_add_handler(monitor_fd, DM_SUSPEND, handle_suspend, NULL);
|
||||
ret += mngr_add_handler(monitor_fd, DM_RESUME, handle_resume, NULL);
|
||||
ret += mngr_add_handler(monitor_fd, DM_PAUSE, handle_pause, NULL);
|
||||
ret += mngr_add_handler(monitor_fd, DM_CONTINUE, handle_continue, NULL);
|
||||
ret += mngr_add_handler(monitor_fd, DM_QUERY, handle_query, NULL);
|
||||
ret += mngr_add_handler(monitor_fd, DM_BLKRESCAN, handle_blkrescan, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user