mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 12:19:06 +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> Acked-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
@@ -322,6 +322,13 @@ delete_cpu(struct vmctx *ctx, int vcpu)
|
||||
return CPU_EMPTY(&cpumask);
|
||||
}
|
||||
|
||||
void
|
||||
notify_vmloop_thread(void)
|
||||
{
|
||||
pthread_kill(mt_vmm_info[0].mt_thr, SIGCONT);
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
vmexit_inout(struct vmctx *ctx, struct vhm_request *vhm_req, int *pvcpu)
|
||||
{
|
||||
|
Reference in New Issue
Block a user