@samitouri / QOSamiQemu / commits / 758a0b9f75

ppc/pnv: Make PowerNV11 as the default powernv machine

With Power11 being the newest supported Power processor in QEMU, and sufficiently tested, set powernv machine as an alias to powernv11 machine Signed-off-by: Aditya Gupta <adityag@linux.ibm.com> Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com> Tested-by: Amit Machhiwal <amachhiw@linux.ibm.com> Tested-by: Misbah Anjum N <misanjum@linux.ibm.com> Link: https://lore.kernel.org/qemu-devel/20260521200844.1449023-2-adityag@linux.ibm.com [harshpb: corrected Amit's email for Tested-by tag] Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>

Aditya Gupta committed May 22, 2026 at 01:38 UTC 758a0b9f7539932e2a214154bf6784c3553f0743
1 file changed +2 -2
hw/ppc/pnv.c
+2 -2
@@ -3470,8 +3470,6 @@ static void pnv_machine_p10_common_class_init(ObjectClass *oc, const void *data)
3470 mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("power10_v2.0");
3471 compat_props_add(mc->compat_props, phb_compat, G_N_ELEMENTS(phb_compat));
3472
3473 - mc->alias = "powernv";
3474 -
3473 pmc->compat = compat;
3474 pmc->compat_size = sizeof(compat);
3475 pmc->max_smt_threads = 4;
@@ -3548,6 +3546,8 @@ static void pnv_machine_power11_class_init(ObjectClass *oc, const void *data)
3546 mc->desc = "IBM PowerNV (Non-Virtualized) Power11";
3547 mc->default_cpu_type = POWERPC_CPU_TYPE_NAME("power11_v2.0");
3548
3549 + mc->alias = "powernv";
3550 +
3551 object_class_property_add_bool(oc, "big-core",
3552 pnv_machine_get_big_core,
3553 pnv_machine_set_big_core);