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