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