Skip to content

Commit 26b8b3b

Browse files
lyan3wenlingz
authored andcommitted
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>
1 parent c6b7940 commit 26b8b3b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tools/acrn-manager/acrnd.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ static int active_all_vms(void)
263263

264264
#define SOS_LCS_SOCK "sos-lcs"
265265
#define DEFAULT_TIMEOUT 2U
266-
#define SOS_ADVANCE_WKUP 10U /* WKUP SOS 10 sec in advance */
267266
#define ACRND_NAME "acrnd"
268267
static int acrnd_fd = -1;
269268

@@ -393,8 +392,6 @@ static int store_timer_list(void)
393392
/* If any timer is stored
394393
* system must be awake at sys_wakeup */
395394
if (sys_wakeup) {
396-
if (sys_wakeup > SOS_ADVANCE_WKUP)
397-
sys_wakeup -= SOS_ADVANCE_WKUP;
398395
set_sos_timer(sys_wakeup);
399396
} else {
400397
unlink(TIMER_LIST_FILE);

0 commit comments

Comments
 (0)