From: Harsh Prateek Bora Date: Mon, 14 Oct 2024 12:27:27 +0000 (+0530) Subject: ppc/spapr: remove deprecated machine pseries-2.11 X-Git-Tag: v9.2.0-rc0~22^2~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=28f9f87ec418cefac3c6eca35ee48747a12be424;p=thirdparty%2Fqemu.git ppc/spapr: remove deprecated machine pseries-2.11 Commit 1392617d3576 intended to tag pseries-2.1 - 2.11 machines as deprecated with reasons mentioned in its commit log. Removing pseries-2.11 specific code with this patch. Suggested-by: Cédric Le Goater Reviewed-by: Cédric Le Goater Signed-off-by: Harsh Prateek Bora Signed-off-by: Nicholas Piggin --- diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 4c76d2841cf..faf88a177b4 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -5054,21 +5054,6 @@ static void spapr_machine_2_12_sxxm_class_options(MachineClass *mc) DEFINE_SPAPR_MACHINE_TAGGED(2, 12, sxxm); -/* - * pseries-2.11 - */ - -static void spapr_machine_2_11_class_options(MachineClass *mc) -{ - SpaprMachineClass *smc = SPAPR_MACHINE_CLASS(mc); - - spapr_machine_2_12_class_options(mc); - smc->default_caps.caps[SPAPR_CAP_HTM] = SPAPR_CAP_ON; - compat_props_add(mc->compat_props, hw_compat_2_11, hw_compat_2_11_len); -} - -DEFINE_SPAPR_MACHINE(2, 11); - static void spapr_machine_register_types(void) { type_register_static(&spapr_machine_info);