aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 20:57:31 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 20:57:31 +0000
commite47ce3f2440368a5dac209b910e361658cb601f0 (patch)
tree5629cfa780247bd1c5c243ab2791eb816b9104f6 /exec.c
parent29c8ca6f2ec188fddb83462680386aa160a7cd9f (diff)
downloadqemu-e47ce3f2440368a5dac209b910e361658cb601f0.zip
qemu-e47ce3f2440368a5dac209b910e361658cb601f0.tar.gz
qemu-e47ce3f2440368a5dac209b910e361658cb601f0.tar.bz2
Clear CPU_INTERRUPT_EXIT on VM load
CPU_INTERRUPT_EXIT is not set anymore in env->interrupt_request since revision 6728. Make sure the bit is cleared on VM load. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6756 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/exec.c b/exec.c
index 6a5f2fe..01a5265 100644
--- a/exec.c
+++ b/exec.c
@@ -523,6 +523,7 @@ static int cpu_common_load(QEMUFile *f, void *opaque, int version_id)
qemu_get_be32s(f, &env->halted);
qemu_get_be32s(f, &env->interrupt_request);
+ env->interrupt_request &= ~CPU_INTERRUPT_EXIT;
tlb_flush(env, 1);
return 0;