]> Git Repo - qemu.git/blobdiff - cpu-exec-common.c
migration: delete QEMUSizedBuffer struct
[qemu.git] / cpu-exec-common.c
index 43edf3677753d8dac7562abe2c59123624a27c19..132cd03cde5b92f13285b8f7a89c7a5d14786ca6 100644 (file)
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "config.h"
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "sysemu/cpus.h"
+#include "exec/exec-all.h"
 #include "exec/memory-internal.h"
 
 bool exit_request;
@@ -68,7 +69,6 @@ void cpu_reloading_memory_map(void)
 
 void cpu_loop_exit(CPUState *cpu)
 {
-    cpu->current_tb = NULL;
     siglongjmp(cpu->jmp_env, 1);
 }
 
@@ -77,6 +77,5 @@ void cpu_loop_exit_restore(CPUState *cpu, uintptr_t pc)
     if (pc) {
         cpu_restore_state(cpu, pc);
     }
-    cpu->current_tb = NULL;
     siglongjmp(cpu->jmp_env, 1);
 }
This page took 0.024142 seconds and 4 git commands to generate.