tool: acrn-manager: do not wakeup SOS in advance

There is no need to wakeup SOS in advance since UOS wakeup time is
not required to be that exact.

Tracked-On: #927
Signed-off-by: Yan, Like <like.yan@intel.com>
Reviewed-by: Liu Yuan <yuan1.liu@intel.com>
Acked-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
Yan, Like 2018-09-07 15:17:42 +08:00 committed by wenlingz
parent c6b7940bf9
commit 26b8b3b28b
1 changed files with 0 additions and 3 deletions

View File

@ -263,7 +263,6 @@ static int active_all_vms(void)
#define SOS_LCS_SOCK "sos-lcs"
#define DEFAULT_TIMEOUT 2U
#define SOS_ADVANCE_WKUP 10U /* WKUP SOS 10 sec in advance */
#define ACRND_NAME "acrnd"
static int acrnd_fd = -1;
@ -393,8 +392,6 @@ static int store_timer_list(void)
/* If any timer is stored
* system must be awake at sys_wakeup */
if (sys_wakeup) {
if (sys_wakeup > SOS_ADVANCE_WKUP)
sys_wakeup -= SOS_ADVANCE_WKUP;
set_sos_timer(sys_wakeup);
} else {
unlink(TIMER_LIST_FILE);