pseries: Include missing pseries-2.5 compat properties in pseries-2.4
PATCH 1/1 pseries: Include missing pseries-2.5 compat properties in pseries-2.4
Commit 4b23699 "pseries: Add pseries-2.6 machine type" added a new SPAPR_COMPAT_2_5 macro in the usual way. However, it didn't add this macro to the existing SPAPR_COMPAT_2_4 macro so that pseries-2.4 inherits newer compatibility properties which are needed for 2.5 and earlier.
This corrects the oversight.
--- hw/ppc/spapr.c | 1 + 1 file changed, 1 insertion(+)
hw/ppc/spapr.c +1 -0
@@ -2391,6 +2391,7 @@ DEFINE_SPAPR_MACHINE(2_5, "2.5", false);* pseries-2.4 */ #define SPAPR_COMPAT_2_4 \ + SPAPR_COMPAT_2_5 \ HW_COMPAT_2_4static void spapr_machine_2_4_instance_options (MachineState *machine)
Signature · 1 line
2.5.0
Quoted 20 lines · David Gibson
Commit 4b23699 "pseries: Add pseries-2.6 machine type" added a new
SPAPR_COMPAT_2_5macro in the usual way. However, it didn't add this macro to the existingSPAPR_COMPAT_2_4macro so that pseries-2.4 inherits newer compatibility properties which are needed for 2.5 and earlier.This corrects the oversight.
Reported-by Laszlo Ersek <[email protected]>Signed-off-by David Gibson <[email protected]>--- hw/ppc/spapr.c | 1 + 1 file changed, 1 insertion(+)hw/ppc/spapr.c +0
-0
hw/ppc/spapr.c DEFINE_SPAPR_MACHINE(2_5, "2.5", false); · line 2397
Quoted 7 lines
hw/ppc/spapr.c +1
-0@@ -2391,6 +2391,7 @@ DEFINE_SPAPR_MACHINE(2_5, "2.5", false);* pseries-2.4 */ #define SPAPR_COMPAT_2_4 \ + SPAPR_COMPAT_2_5 \ HW_COMPAT_2_4static void spapr_machine_2_4_instance_options (MachineState *machine)
Thanks!
Laszlo
Quoted 10 lines · David Gibson
Commit 4b23699 "pseries: Add pseries-2.6 machine type" added a new
SPAPR_COMPAT_2_5macro in the usual way. However, it didn't add this macro to the existingSPAPR_COMPAT_2_4macro so that pseries-2.4 inherits newer compatibility properties which are needed for 2.5 and earlier.This corrects the oversight.
Reported-by Laszlo Ersek <[email protected]>Signed-off-by David Gibson <[email protected]>
Quoted 17 lines
--- hw/ppc/spapr.c | 1 + 1 file changed, 1 insertion(+)hw/ppc/spapr.c +1
-0@@ -2391,6 +2391,7 @@ DEFINE_SPAPR_MACHINE(2_5, "2.5", false);* pseries-2.4 */ #define SPAPR_COMPAT_2_4 \ + SPAPR_COMPAT_2_5 \ HW_COMPAT_2_4static void spapr_machine_2_4_instance_options (MachineState *machine)