From: SeokYeon Hwang Date: Wed, 30 Nov 2016 04:33:02 +0000 (+0900) Subject: hax: fix routines for non-UG X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~6^2~13^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4dcb59384ab4433702f015fdddda1eff8e3927f;p=sdk%2Femulator%2Fqemu.git hax: fix routines for non-UG Change-Id: Idad6e573e9f50199a4e57ba50429edac3095d057 Signed-off-by: SeokYeon Hwang --- diff --git a/cpu-exec.c b/cpu-exec.c index b7d0c6990d..f48ded416a 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -621,8 +621,9 @@ int cpu_exec(CPUState *cpu) } #ifdef CONFIG_HAX - if (hax_enabled() && !hax_vcpu_exec(cpu)) - longjmp(cpu->jmp_env, 1); + if (hax_enabled() && !hax_vcpu_exec(cpu)) { + break; + } #endif cpu->tb_flushed = false; /* reset before first TB lookup */