60061b
From a154eb35d738aecf552d57d99499facce1c834ba Mon Sep 17 00:00:00 2001
60061b
From: Eric Auger <eric.auger@redhat.com>
60061b
Date: Mon, 20 Dec 2021 15:24:24 +0100
60061b
Subject: [PATCH 4/6] hw/arm/virt: Add 8.6 machine type
60061b
60061b
RH-Author: Eric Auger <eric.auger@redhat.com>
60061b
RH-MergeRequest: 95: hw/arm/virt: Add virt-rhel8.6.0 machine type
60061b
RH-Commit: [4/5] d0df3e796d3e9a6ca2af1e3b33fc6021bcac5d09
60061b
RH-Bugzilla: 2031039
60061b
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
60061b
RH-Acked-by: Andrew Jones <drjones@redhat.com>
60061b
RH-Acked-by: Gavin Shan <gshan@redhat.com>
60061b
60061b
branch: rhel-8.6.0
60061b
Brew: 42212069
60061b
Upstream: no
60061b
60061b
Add 8.6 machine type.
60061b
60061b
Signed-off-by: Eric Auger <eric.auger@redhat.com>
60061b
---
60061b
 hw/arm/virt.c | 10 ++++++++--
60061b
 1 file changed, 8 insertions(+), 2 deletions(-)
60061b
60061b
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
60061b
index 6a4173b6c3..c9c17b9d45 100644
60061b
--- a/hw/arm/virt.c
60061b
+++ b/hw/arm/virt.c
60061b
@@ -3228,17 +3228,23 @@ static void rhel_machine_init(void)
60061b
 }
60061b
 type_init(rhel_machine_init);
60061b
 
60061b
+static void rhel860_virt_options(MachineClass *mc)
60061b
+{
60061b
+    compat_props_add(mc->compat_props, arm_rhel_compat, arm_rhel_compat_len);
60061b
+}
60061b
+DEFINE_RHEL_MACHINE_AS_LATEST(8, 6, 0)
60061b
+
60061b
 static void rhel850_virt_options(MachineClass *mc)
60061b
 {
60061b
     VirtMachineClass *vmc = VIRT_MACHINE_CLASS(OBJECT_CLASS(mc));
60061b
 
60061b
-    compat_props_add(mc->compat_props, arm_rhel_compat, arm_rhel_compat_len);
60061b
+    rhel860_virt_options(mc);
60061b
     compat_props_add(mc->compat_props, hw_compat_rhel_8_5, hw_compat_rhel_8_5_len);
60061b
     mc->smp_props.prefer_sockets = true;
60061b
     vmc->no_cpu_topology = true;
60061b
     vmc->no_tcg_its = true;
60061b
 }
60061b
-DEFINE_RHEL_MACHINE_AS_LATEST(8, 5, 0)
60061b
+DEFINE_RHEL_MACHINE(8, 5, 0)
60061b
 
60061b
 static void rhel840_virt_options(MachineClass *mc)
60061b
 {
60061b
-- 
60061b
2.27.0
60061b