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:
Wei Liu
2019-04-16 10:59:25 +08:00
committed by wenlingz
parent 2e5a6e28b9
commit 948d58fb9c
5 changed files with 15 additions and 2 deletions

View File

@@ -322,12 +322,14 @@ delete_cpu(struct vmctx *ctx, int vcpu)
return CPU_EMPTY(&cpumask);
}
#ifdef DM_DEBUG
void
notify_vmloop_thread(void)
{
pthread_kill(mt_vmm_info[0].mt_thr, SIGCONT);
return;
}
#endif
static void
vmexit_inout(struct vmctx *ctx, struct vhm_request *vhm_req, int *pvcpu)