aboutsummaryrefslogtreecommitdiff
path: root/qom
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-03-03 16:39:18 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2017-03-03 16:39:18 +0100
commit30f3dda24b2a4cd30f8fbf984ab08ef08eaf5020 (patch)
tree5d70d2f93f28b4935c68b48482cdba5302b410ba /qom
parent508e038a5d725f2aa729f58a1f5209b9be4227de (diff)
parent55ac0a9bf4e1b1adfc7d73586a7aa085f58c9851 (diff)
downloadqemu-30f3dda24b2a4cd30f8fbf984ab08ef08eaf5020.zip
qemu-30f3dda24b2a4cd30f8fbf984ab08ef08eaf5020.tar.gz
qemu-30f3dda24b2a4cd30f8fbf984ab08ef08eaf5020.tar.bz2
Merge branch 'icount-update' into HEAD
Merge the original development branch due to breakage caused by the MTTCG merge. Conflicts: cpu-exec.c translate-common.c Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qom')
-rw-r--r--qom/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qom/cpu.c b/qom/cpu.c
index 58784bc..f02e9c0 100644
--- a/qom/cpu.c
+++ b/qom/cpu.c
@@ -133,7 +133,7 @@ void cpu_exit(CPUState *cpu)
atomic_set(&cpu->exit_request, 1);
/* Ensure cpu_exec will see the exit request after TCG has exited. */
smp_wmb();
- atomic_set(&cpu->tcg_exit_req, 1);
+ atomic_set(&cpu->icount_decr.u16.high, -1);
}
int cpu_write_elf32_qemunote(WriteCoreDumpFunction f, CPUState *cpu,