|
@@ -423,7 +423,7 @@ static void pc_i440fx_5_0_machine_options(MachineClass *m)
|
|
PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
|
|
PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
|
|
pc_i440fx_machine_options(m);
|
|
pc_i440fx_machine_options(m);
|
|
m->alias = "pc";
|
|
m->alias = "pc";
|
|
- m->is_default = 1;
|
|
|
|
|
|
+ m->is_default = true;
|
|
pcmc->default_cpu_version = 1;
|
|
pcmc->default_cpu_version = 1;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -434,7 +434,7 @@ static void pc_i440fx_4_2_machine_options(MachineClass *m)
|
|
{
|
|
{
|
|
pc_i440fx_5_0_machine_options(m);
|
|
pc_i440fx_5_0_machine_options(m);
|
|
m->alias = NULL;
|
|
m->alias = NULL;
|
|
- m->is_default = 0;
|
|
|
|
|
|
+ m->is_default = false;
|
|
compat_props_add(m->compat_props, hw_compat_4_2, hw_compat_4_2_len);
|
|
compat_props_add(m->compat_props, hw_compat_4_2, hw_compat_4_2_len);
|
|
compat_props_add(m->compat_props, pc_compat_4_2, pc_compat_4_2_len);
|
|
compat_props_add(m->compat_props, pc_compat_4_2, pc_compat_4_2_len);
|
|
}
|
|
}
|
|
@@ -446,7 +446,7 @@ static void pc_i440fx_4_1_machine_options(MachineClass *m)
|
|
{
|
|
{
|
|
pc_i440fx_4_2_machine_options(m);
|
|
pc_i440fx_4_2_machine_options(m);
|
|
m->alias = NULL;
|
|
m->alias = NULL;
|
|
- m->is_default = 0;
|
|
|
|
|
|
+ m->is_default = false;
|
|
compat_props_add(m->compat_props, hw_compat_4_1, hw_compat_4_1_len);
|
|
compat_props_add(m->compat_props, hw_compat_4_1, hw_compat_4_1_len);
|
|
compat_props_add(m->compat_props, pc_compat_4_1, pc_compat_4_1_len);
|
|
compat_props_add(m->compat_props, pc_compat_4_1, pc_compat_4_1_len);
|
|
}
|
|
}
|
|
@@ -459,7 +459,7 @@ static void pc_i440fx_4_0_machine_options(MachineClass *m)
|
|
PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
|
|
PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
|
|
pc_i440fx_4_1_machine_options(m);
|
|
pc_i440fx_4_1_machine_options(m);
|
|
m->alias = NULL;
|
|
m->alias = NULL;
|
|
- m->is_default = 0;
|
|
|
|
|
|
+ m->is_default = false;
|
|
pcmc->default_cpu_version = CPU_VERSION_LEGACY;
|
|
pcmc->default_cpu_version = CPU_VERSION_LEGACY;
|
|
compat_props_add(m->compat_props, hw_compat_4_0, hw_compat_4_0_len);
|
|
compat_props_add(m->compat_props, hw_compat_4_0, hw_compat_4_0_len);
|
|
compat_props_add(m->compat_props, pc_compat_4_0, pc_compat_4_0_len);
|
|
compat_props_add(m->compat_props, pc_compat_4_0, pc_compat_4_0_len);
|
|
@@ -473,7 +473,7 @@ static void pc_i440fx_3_1_machine_options(MachineClass *m)
|
|
PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
|
|
PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
|
|
|
|
|
|
pc_i440fx_4_0_machine_options(m);
|
|
pc_i440fx_4_0_machine_options(m);
|
|
- m->is_default = 0;
|
|
|
|
|
|
+ m->is_default = false;
|
|
pcmc->do_not_add_smb_acpi = true;
|
|
pcmc->do_not_add_smb_acpi = true;
|
|
m->smbus_no_migration_support = true;
|
|
m->smbus_no_migration_support = true;
|
|
m->alias = NULL;
|
|
m->alias = NULL;
|