Blame SOURCES/kvm-hw-arm-virt-Add-9.0-machine-type-and-remove-8.5-one.patch

8b0a28
From 6b0e129f0758ccd076d1ecbf85c8f1e863788981 Mon Sep 17 00:00:00 2001
8b0a28
From: Eric Auger <eric.auger@redhat.com>
8b0a28
Date: Mon, 20 Dec 2021 10:11:47 +0100
8b0a28
Subject: [PATCH 5/6] hw/arm/virt: Add 9.0 machine type and remove 8.5 one
8b0a28
8b0a28
RH-Author: Eric Auger <eric.auger@redhat.com>
8b0a28
RH-MergeRequest: 57: hw/arm/virt: Add 9.0 machine type and remove 8.5 one
8b0a28
RH-Commit: [5/6] f573a2fb44882a010e2c6bf5f561f29d54e6e9b5 (eauger1/centos-qemu-kvm)
8b0a28
RH-Bugzilla: 2031044
8b0a28
RH-Acked-by: Gavin Shan <gshan@redhat.com>
8b0a28
RH-Acked-by: Andrew Jones <drjones@redhat.com>
8b0a28
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
8b0a28
8b0a28
branch: c9s
8b0a28
Brew: 42213566
8b0a28
Upstream: no
8b0a28
8b0a28
Add 9.0 machine type and remove 8.5 one.
8b0a28
8b0a28
Signed-off-by: Eric Auger <eric.auger@redhat.com>
8b0a28
---
8b0a28
 hw/arm/virt.c | 10 ++--------
8b0a28
 1 file changed, 2 insertions(+), 8 deletions(-)
8b0a28
8b0a28
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
8b0a28
index d433139479..d537706a86 100644
8b0a28
--- a/hw/arm/virt.c
8b0a28
+++ b/hw/arm/virt.c
8b0a28
@@ -3236,14 +3236,8 @@ static void rhel_machine_init(void)
8b0a28
 }
8b0a28
 type_init(rhel_machine_init);
8b0a28
 
8b0a28
-static void rhel850_virt_options(MachineClass *mc)
8b0a28
+static void rhel900_virt_options(MachineClass *mc)
8b0a28
 {
8b0a28
-    VirtMachineClass *vmc = VIRT_MACHINE_CLASS(OBJECT_CLASS(mc));
8b0a28
-
8b0a28
     compat_props_add(mc->compat_props, arm_rhel_compat, arm_rhel_compat_len);
8b0a28
-    compat_props_add(mc->compat_props, hw_compat_rhel_8_5, hw_compat_rhel_8_5_len);
8b0a28
-    mc->smp_props.prefer_sockets = true;
8b0a28
-    vmc->no_cpu_topology = true;
8b0a28
-    vmc->no_tcg_its = true;
8b0a28
 }
8b0a28
-DEFINE_RHEL_MACHINE_AS_LATEST(8, 5, 0)
8b0a28
+DEFINE_RHEL_MACHINE_AS_LATEST(9, 0, 0)
8b0a28
-- 
8b0a28
2.27.0
8b0a28