Revision 0be71e32 exec.c

b/exec.c
641 641
    cpu_list_unlock();
642 642
#endif
643 643
#if defined(CPU_SAVE_VERSION) && !defined(CONFIG_USER_ONLY)
644
    vmstate_register(cpu_index, &vmstate_cpu_common, env);
645
    register_savevm("cpu", cpu_index, CPU_SAVE_VERSION,
644
    vmstate_register(NULL, cpu_index, &vmstate_cpu_common, env);
645
    register_savevm(NULL, "cpu", cpu_index, CPU_SAVE_VERSION,
646 646
                    cpu_save, cpu_load, env);
647 647
#endif
648 648
}

Also available in: Unified diff