Message ID | 20241001092910.1030913-5-harshpb@linux.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ppc/spapr: remove deprecated machines specific code | expand |
On 10/1/24 11:29, Harsh Prateek Bora wrote: > Commit 1392617d3576 intended to tag pseries-2.1 - 2.11 machines as > deprecated with reasons mentioned in its commit log. > Removing pseries-2.4 specific code with this patch for now. > > Suggested-by: Cédric Le Goater <clg@kaod.org> > Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com> > --- > hw/ppc/spapr.c | 15 --------------- > 1 file changed, 15 deletions(-) > > diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c > index f2f20aa5b5..9e78f94ec2 100644 > --- a/hw/ppc/spapr.c > +++ b/hw/ppc/spapr.c > @@ -5334,21 +5334,6 @@ static void spapr_machine_2_5_class_options(MachineClass *mc) > > DEFINE_SPAPR_MACHINE(2, 5); > > -/* > - * pseries-2.4 > - */ > - > -static void spapr_machine_2_4_class_options(MachineClass *mc) > -{ > - SpaprMachineClass *smc = SPAPR_MACHINE_CLASS(mc); > - > - spapr_machine_2_5_class_options(mc); > - smc->dr_lmb_enabled = false; smc->dr_lmb_enabled is now useless. Thanks, C. > - compat_props_add(mc->compat_props, hw_compat_2_4, hw_compat_2_4_len); > -} > - > -DEFINE_SPAPR_MACHINE(2, 4); > - > static void spapr_machine_register_types(void) > { > type_register_static(&spapr_machine_info);
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index f2f20aa5b5..9e78f94ec2 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -5334,21 +5334,6 @@ static void spapr_machine_2_5_class_options(MachineClass *mc) DEFINE_SPAPR_MACHINE(2, 5); -/* - * pseries-2.4 - */ - -static void spapr_machine_2_4_class_options(MachineClass *mc) -{ - SpaprMachineClass *smc = SPAPR_MACHINE_CLASS(mc); - - spapr_machine_2_5_class_options(mc); - smc->dr_lmb_enabled = false; - compat_props_add(mc->compat_props, hw_compat_2_4, hw_compat_2_4_len); -} - -DEFINE_SPAPR_MACHINE(2, 4); - static void spapr_machine_register_types(void) { type_register_static(&spapr_machine_info);
Commit 1392617d3576 intended to tag pseries-2.1 - 2.11 machines as deprecated with reasons mentioned in its commit log. Removing pseries-2.4 specific code with this patch for now. Suggested-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com> --- hw/ppc/spapr.c | 15 --------------- 1 file changed, 15 deletions(-)