Skip to content

Commit 1490d0b

Browse files
Harsh Prateek Boranpiggin
authored andcommitted
ppc/spapr: fix default cpu for pre-9.0 machines.
When POWER10 CPU was made as default, we missed keeping POWER9 as default for older pseries releases (pre-9.0) at that time. This caused breakge in default cpu evaluation for older pseries machines and hence this fix. Fixes: 5111301 ("ppc/spapr: change pseries machine default to POWER10 CPU") Cc: [email protected] Signed-off-by: Harsh Prateek Bora <[email protected]> Reviewed-by: Daniel P. Berrangé <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Message-ID: <[email protected]> Signed-off-by: Nicholas Piggin <[email protected]>
1 parent 667413f commit 1490d0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hw/ppc/spapr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4816,6 +4816,7 @@ static void spapr_machine_8_2_class_options(MachineClass *mc)
48164816
{
48174817
spapr_machine_9_0_class_options(mc);
48184818
compat_props_add(mc->compat_props, hw_compat_8_2, hw_compat_8_2_len);
4819+
mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("power9_v2.2");
48194820
}
48204821

48214822
DEFINE_SPAPR_MACHINE(8, 2);

0 commit comments

Comments
 (0)