|
|
ff9ada |
From 3541c9fc2c2dd5cf7dd583bc5645d82ea928d9e8 Mon Sep 17 00:00:00 2001
|
|
|
ff9ada |
From: Thomas Huth <thuth@redhat.com>
|
|
|
ff9ada |
Date: Fri, 10 Dec 2021 10:07:40 +0100
|
|
|
ff9ada |
Subject: [PATCH 1/2] redhat: Add rhel8.6.0 machine type for s390x
|
|
|
ff9ada |
MIME-Version: 1.0
|
|
|
ff9ada |
Content-Type: text/plain; charset=UTF-8
|
|
|
ff9ada |
Content-Transfer-Encoding: 8bit
|
|
|
ff9ada |
|
|
|
ff9ada |
RH-Author: Thomas Huth <thuth@redhat.com>
|
|
|
ff9ada |
RH-MergeRequest: 90: Add rhel8.6.0 machine type for s390x
|
|
|
ff9ada |
RH-Commit: [1/1] 91961fc52d708e6b30d7361fbab3572c5b5c1859
|
|
|
ff9ada |
RH-Bugzilla: 2005325
|
|
|
ff9ada |
RH-Acked-by: Greg Kurz <gkurz@redhat.com>
|
|
|
ff9ada |
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
|
|
|
ff9ada |
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
ff9ada |
RH-Acked-by: David Hildenbrand <david@redhat.com>
|
|
|
ff9ada |
|
|
|
ff9ada |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2005325
|
|
|
ff9ada |
|
|
|
ff9ada |
The new machine type has better default values for the upcoming
|
|
|
ff9ada |
"generation 16" mainframe.
|
|
|
ff9ada |
|
|
|
ff9ada |
Signed-off-by: Thomas Huth <thuth@redhat.com>
|
|
|
ff9ada |
---
|
|
|
ff9ada |
hw/s390x/s390-virtio-ccw.c | 14 +++++++++++++-
|
|
|
ff9ada |
1 file changed, 13 insertions(+), 1 deletion(-)
|
|
|
ff9ada |
|
|
|
ff9ada |
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
|
|
|
ff9ada |
index cf13c457d6..9795eb9406 100644
|
|
|
ff9ada |
--- a/hw/s390x/s390-virtio-ccw.c
|
|
|
ff9ada |
+++ b/hw/s390x/s390-virtio-ccw.c
|
|
|
ff9ada |
@@ -1103,10 +1103,21 @@ static void ccw_machine_2_4_class_options(MachineClass *mc)
|
|
|
ff9ada |
DEFINE_CCW_MACHINE(2_4, "2.4", false);
|
|
|
ff9ada |
#endif
|
|
|
ff9ada |
|
|
|
ff9ada |
+static void ccw_machine_rhel860_instance_options(MachineState *machine)
|
|
|
ff9ada |
+{
|
|
|
ff9ada |
+}
|
|
|
ff9ada |
+
|
|
|
ff9ada |
+static void ccw_machine_rhel860_class_options(MachineClass *mc)
|
|
|
ff9ada |
+{
|
|
|
ff9ada |
+}
|
|
|
ff9ada |
+DEFINE_CCW_MACHINE(rhel860, "rhel8.6.0", true);
|
|
|
ff9ada |
+
|
|
|
ff9ada |
static void ccw_machine_rhel850_instance_options(MachineState *machine)
|
|
|
ff9ada |
{
|
|
|
ff9ada |
static const S390FeatInit qemu_cpu_feat = { S390_FEAT_LIST_QEMU_V6_0 };
|
|
|
ff9ada |
|
|
|
ff9ada |
+ ccw_machine_rhel860_instance_options(machine);
|
|
|
ff9ada |
+
|
|
|
ff9ada |
s390_set_qemu_cpu_model(0x2964, 13, 2, qemu_cpu_feat);
|
|
|
ff9ada |
|
|
|
ff9ada |
s390_cpudef_featoff_greater(16, 1, S390_FEAT_NNPA);
|
|
|
ff9ada |
@@ -1118,10 +1129,11 @@ static void ccw_machine_rhel850_instance_options(MachineState *machine)
|
|
|
ff9ada |
|
|
|
ff9ada |
static void ccw_machine_rhel850_class_options(MachineClass *mc)
|
|
|
ff9ada |
{
|
|
|
ff9ada |
+ ccw_machine_rhel860_class_options(mc);
|
|
|
ff9ada |
compat_props_add(mc->compat_props, hw_compat_rhel_8_5, hw_compat_rhel_8_5_len);
|
|
|
ff9ada |
mc->smp_props.prefer_sockets = true;
|
|
|
ff9ada |
}
|
|
|
ff9ada |
-DEFINE_CCW_MACHINE(rhel850, "rhel8.5.0", true);
|
|
|
ff9ada |
+DEFINE_CCW_MACHINE(rhel850, "rhel8.5.0", false);
|
|
|
ff9ada |
|
|
|
ff9ada |
static void ccw_machine_rhel840_instance_options(MachineState *machine)
|
|
|
ff9ada |
{
|
|
|
ff9ada |
--
|
|
|
ff9ada |
2.27.0
|
|
|
ff9ada |
|