From e47ce3f2440368a5dac209b910e361658cb601f0 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Sat, 7 Mar 2009 20:57:31 +0000 Subject: 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 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6756 c046a42c-6fe2-441c-8c8c-71466251a162 --- exec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'exec.c') 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; -- cgit v1.1