qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v6 34/73] exec: use cpu_reset_interrupt


From: Emilio G. Cota
Subject: [Qemu-devel] [PATCH v6 34/73] exec: use cpu_reset_interrupt
Date: Tue, 29 Jan 2019 19:47:32 -0500

Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Emilio G. Cota <address@hidden>
---
 exec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec.c b/exec.c
index da3e635f91..21826f0816 100644
--- a/exec.c
+++ b/exec.c
@@ -777,7 +777,7 @@ static int cpu_common_post_load(void *opaque, int 
version_id)
 
     /* 0x01 was CPU_INTERRUPT_EXIT. This line can be removed when the
        version_id is increased. */
-    cpu->interrupt_request &= ~0x01;
+    cpu_reset_interrupt(cpu, 1);
     tlb_flush(cpu);
 
     /* loadvm has just updated the content of RAM, bypassing the
-- 
2.17.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]