summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeokYeon Hwang <syeon.hwang@samsung.com>2016-11-30 13:33:02 +0900
committerSeokYeon Hwang <syeon.hwang@samsung.com>2016-11-30 14:10:54 +0900
commitd4dcb59384ab4433702f015fdddda1eff8e3927f (patch)
treece8358491f2bdec8d831f120524580edafb280a0
parent1da4aeb2eb54d8fb84f94a6e608c1c65360afdba (diff)
downloadqemu-d4dcb59384ab4433702f015fdddda1eff8e3927f.tar.gz
qemu-d4dcb59384ab4433702f015fdddda1eff8e3927f.tar.bz2
qemu-d4dcb59384ab4433702f015fdddda1eff8e3927f.zip
hax: fix routines for non-UG
Change-Id: Idad6e573e9f50199a4e57ba50429edac3095d057 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
-rw-r--r--cpu-exec.c5
1 files changed, 3 insertions, 2 deletions
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 */