Revision b0a46a33 target-i386/machine.c

b/target-i386/machine.c
4 4
#include "hw/isa.h"
5 5

  
6 6
#include "exec-all.h"
7
#include "kvm.h"
7 8

  
8 9
static void cpu_put_seg(QEMUFile *f, SegmentCache *dt)
9 10
{
......
29 30
    int32_t a20_mask;
30 31
    int i;
31 32

  
33
    cpu_synchronize_state(env, 0);
34

  
32 35
    for(i = 0; i < CPU_NB_REGS; i++)
33 36
        qemu_put_betls(f, &env->regs[i]);
34 37
    qemu_put_betls(f, &env->eip);
......
321 324
    /* XXX: compute redundant hflags bits */
322 325
    env->hflags = hflags;
323 326
    tlb_flush(env, 1);
327
    cpu_synchronize_state(env, 1);
324 328
    return 0;
325 329
}

Also available in: Unified diff