mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-03 18:04:25 +00:00
acrn-dm: enable debug option for acrn-dm
enable acrn-dm debug option via RELEASE=0(by default) Tracked-On: #2939 Reviewed-by: Minggui Cao <minggui.cao@intel.com> Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
@@ -136,9 +136,13 @@ wdt_expired_handler(void *arg, uint64_t nexp)
|
||||
wdt_timeout = 1;
|
||||
|
||||
/* watchdog timer out, set the uos to reboot */
|
||||
#ifdef DM_DEBUG
|
||||
vm_set_suspend_mode(VM_SUSPEND_SYSTEM_RESET);
|
||||
/* Notify vm thread to handle VM_SUSPEND_SYSTEM_RESET request */
|
||||
notify_vmloop_thread();
|
||||
#else
|
||||
vm_set_suspend_mode(VM_SUSPEND_FULL_RESET);
|
||||
#endif
|
||||
mevent_notify();
|
||||
} else {
|
||||
/* if not need reboot, just loop timer */
|
||||
|
Reference in New Issue
Block a user