diff --git a/target-i386/helper.c b/target-i386/helper.c index 27063e58b7820c3bde151fab77933a150facd025..8abbed0a6f0a6d00c5d961fecac7b5507ef4275b 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -744,7 +744,7 @@ void cpu_dump_state(CPUState *env, FILE *f, static const char *seg_name[6] = { "ES", "CS", "SS", "DS", "FS", "GS" }; if (kvm_enabled()) - kvm_arch_get_registers(env); + cpu_synchronize_state(env); eflags = env->eflags; #ifdef TARGET_X86_64