mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-17 23:08:07 +00:00
watchdog: map the watchdog reset to warm reset
Per debugging requirement, map the watchdog reset to warm reset. So the ramconsole could be used to capture the kernel log of UOS before watchdog is hit. Tracked-On: #2471 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
@@ -136,7 +136,8 @@ wdt_expired_handler(void *arg)
|
||||
wdt_timeout = 1;
|
||||
|
||||
/* watchdog timer out, set the uos to reboot */
|
||||
vm_set_suspend_mode(VM_SUSPEND_FULL_RESET);
|
||||
vm_set_suspend_mode(VM_SUSPEND_SYSTEM_RESET);
|
||||
notify_vmloop_thread();
|
||||
mevent_notify();
|
||||
} else {
|
||||
/* if not need reboot, just loop timer */
|
||||
|
Reference in New Issue
Block a user