Message ID | 002801d2810f$18809c20$4981d460$@ru (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/cpu-exec.c b/cpu-exec.c index 5cef8bc..91d1faf 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -577,7 +577,6 @@ static inline void cpu_loop_exec_tb(CPUState *cpu, TranslationBlock *tb, if (insns_left > 0) { cpu_exec_nocache(cpu, insns_left, tb, false); } - atomic_set(&cpu->exit_request, 1); } }
This patch removes unneeded assignment to cpu->exit_request. cpu_exec_nocache executes all available instructions and therefore icount becomes 0. Then other conditions will break the execution loop, making assignment to cpu->exit_request useless. This patch should be applied over Paolo's series: https://www.mail-archive.com/qemu-devel@nongnu.org/msg426058.html Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> --- cpu-exec.c | 1 - 1 file changed, 1 deletion(-)