|
|
28f2e1 |
From 82358c35f04f026820b3907069a6c19cd95b654d Mon Sep 17 00:00:00 2001
|
|
|
28f2e1 |
From: Laurent Vivier <lvivier@redhat.com>
|
|
|
28f2e1 |
Date: Mon, 15 Nov 2021 14:25:33 +0100
|
|
|
28f2e1 |
Subject: redhat: Update pseries-rhel8.5.0 machine type
|
|
|
28f2e1 |
|
|
|
28f2e1 |
RH-Author: Laurent Vivier <lvivier@redhat.com>
|
|
|
28f2e1 |
RH-MergeRequest: 66: redhat: Update pseries-rhel8.5.0 machine type
|
|
|
28f2e1 |
RH-Commit: [2/2] 36f7ad1ea56baaaecb139875ad0a90a6470196be
|
|
|
28f2e1 |
RH-Bugzilla: 2022608
|
|
|
28f2e1 |
RH-Acked-by: Eric Auger <eric.auger@redhat.com>
|
|
|
28f2e1 |
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
28f2e1 |
RH-Acked-by: Greg Kurz <gkurz@redhat.com>
|
|
|
28f2e1 |
`
|
|
|
28f2e1 |
We don't introduce a new machine type for rhel8.6.0 but we need
|
|
|
28f2e1 |
to keep compatibility with rhel8.5.0 machine type.
|
|
|
28f2e1 |
|
|
|
28f2e1 |
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
|
|
|
28f2e1 |
---
|
|
|
28f2e1 |
hw/ppc/spapr.c | 4 ++++
|
|
|
28f2e1 |
1 file changed, 4 insertions(+)
|
|
|
28f2e1 |
|
|
|
28f2e1 |
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
|
|
|
28f2e1 |
index cace86028d..2f27888d8a 100644
|
|
|
28f2e1 |
--- a/hw/ppc/spapr.c
|
|
|
28f2e1 |
+++ b/hw/ppc/spapr.c
|
|
|
28f2e1 |
@@ -5177,10 +5177,14 @@ static void spapr_machine_rhel_default_class_options(MachineClass *mc)
|
|
|
28f2e1 |
|
|
|
28f2e1 |
static void spapr_machine_rhel850_class_options(MachineClass *mc)
|
|
|
28f2e1 |
{
|
|
|
28f2e1 |
+ SpaprMachineClass *smc = SPAPR_MACHINE_CLASS(mc);
|
|
|
28f2e1 |
+
|
|
|
28f2e1 |
/* The default machine type must apply the RHEL specific defaults */
|
|
|
28f2e1 |
spapr_machine_rhel_default_class_options(mc);
|
|
|
28f2e1 |
compat_props_add(mc->compat_props, hw_compat_rhel_8_5,
|
|
|
28f2e1 |
hw_compat_rhel_8_5_len);
|
|
|
28f2e1 |
+ smc->pre_6_2_numa_affinity = true;
|
|
|
28f2e1 |
+ mc->smp_props.prefer_sockets = true;
|
|
|
28f2e1 |
}
|
|
|
28f2e1 |
|
|
|
28f2e1 |
DEFINE_SPAPR_MACHINE(rhel850, "rhel8.5.0", true);
|
|
|
28f2e1 |
--
|
|
|
28f2e1 |
2.27.0
|
|
|
28f2e1 |
|