]> git.proxmox.com Git - qemu.git/blobdiff - cpu-exec.c
virtio-serial: Turn props any virtio-serial-bus device must have into bus props
[qemu.git] / cpu-exec.c
index 20e3ec41d76be53d7f9e290b674f908d9baf4aa0..de0d716da0615a7293b69a949133255848c78414 100644 (file)
@@ -587,6 +587,10 @@ int cpu_exec(CPUState *env)
                 /* reset soft MMU for next block (it can currently
                    only be set by a memory fault) */
             } /* for(;;) */
+        } else {
+            /* Reload env after longjmp - the compiler may have smashed all
+             * local variables as longjmp is marked 'noreturn'. */
+            env = cpu_single_env;
         }
     } /* for(;;) */