Revision 51fb256a target-i386/cpu.c

b/target-i386/cpu.c
1899 1899
                       Error **errp)
1900 1900
{
1901 1901
    X86CPU *cpu = NULL;
1902
    CPUX86State *env;
1903 1902
    gchar **model_pieces;
1904 1903
    char *name, *features;
1905 1904
    char *typename;
......
1922 1921
    qdev_set_parent_bus(DEVICE(cpu), qdev_get_child_bus(icc_bridge, "icc"));
1923 1922
    object_unref(OBJECT(cpu));
1924 1923
#endif
1925
    env = &cpu->env;
1926
    env->cpu_model_str = cpu_model;
1927 1924

  
1928 1925
    cpu_x86_register(cpu, name, &error);
1929 1926
    if (error) {

Also available in: Unified diff