From: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
system/cpus.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/system/cpus.c b/system/cpus.c
index bded87feb1c..b4c7f94332d 100644
--- a/system/cpus.c
+++ b/system/cpus.c
@@ -621,6 +621,7 @@ void cpu_pause(CPUState *cpu)
void cpu_resume(CPUState *cpu)
{
+ cpu->exception_index = -1;
cpu->stop = false;
cpu->stopped = false;
qemu_cpu_kick(cpu);
--
2.53.0