|
|
a83cc2 |
From ee0be09f3598596e41b3fc2dbefef3382c5b0541 Mon Sep 17 00:00:00 2001
|
|
|
a83cc2 |
From: Eric Auger <eric.auger@redhat.com>
|
|
|
a83cc2 |
Date: Tue, 25 May 2021 09:22:24 +0200
|
|
|
a83cc2 |
Subject: [PATCH 02/15] hw/arm/virt: Add 8.5 and 9.0 machine types and remove
|
|
|
a83cc2 |
older ones
|
|
|
a83cc2 |
|
|
|
a83cc2 |
RH-Author: Eric Auger <eric.auger@redhat.com>
|
|
|
a83cc2 |
RH-MergeRequest: 1: Add 9.0.0 and 8.5.0 arm-virt machine types
|
|
|
a83cc2 |
RH-Commit: [2/2] ace4619a1d505a3b552a236260b259bd6ddabc00 (eauger1/centos-qemu-kvm)
|
|
|
a83cc2 |
RH-Bugzilla: 1952449
|
|
|
a83cc2 |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
a83cc2 |
RH-Acked-by: Gavin Shan <gshan@redhat.com>
|
|
|
a83cc2 |
RH-Acked-by: Andrew Jones <drjones@redhat.com>
|
|
|
a83cc2 |
|
|
|
a83cc2 |
Add 8.5 and 9.0 machine types and remove older ones.
|
|
|
a83cc2 |
|
|
|
a83cc2 |
Signed-off-by: Eric Auger <eric.auger@redhat.com>
|
|
|
a83cc2 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
a83cc2 |
---
|
|
|
a83cc2 |
hw/arm/virt.c | 24 +++++-------------------
|
|
|
a83cc2 |
1 file changed, 5 insertions(+), 19 deletions(-)
|
|
|
a83cc2 |
|
|
|
a83cc2 |
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
|
|
|
a83cc2 |
index 51a415570c..e4aa794f83 100644
|
|
|
a83cc2 |
--- a/hw/arm/virt.c
|
|
|
a83cc2 |
+++ b/hw/arm/virt.c
|
|
|
a83cc2 |
@@ -3095,28 +3095,14 @@ static void rhel_machine_init(void)
|
|
|
a83cc2 |
}
|
|
|
a83cc2 |
type_init(rhel_machine_init);
|
|
|
a83cc2 |
|
|
|
a83cc2 |
-static void rhel840_virt_options(MachineClass *mc)
|
|
|
a83cc2 |
+static void rhel900_virt_options(MachineClass *mc)
|
|
|
a83cc2 |
{
|
|
|
a83cc2 |
compat_props_add(mc->compat_props, arm_rhel_compat, arm_rhel_compat_len);
|
|
|
a83cc2 |
- compat_props_add(mc->compat_props, hw_compat_rhel_8_4, hw_compat_rhel_8_4_len);
|
|
|
a83cc2 |
}
|
|
|
a83cc2 |
-DEFINE_RHEL_MACHINE_AS_LATEST(8, 4, 0)
|
|
|
a83cc2 |
+DEFINE_RHEL_MACHINE_AS_LATEST(9, 0, 0)
|
|
|
a83cc2 |
|
|
|
a83cc2 |
-static void rhel830_virt_options(MachineClass *mc)
|
|
|
a83cc2 |
+static void rhel850_virt_options(MachineClass *mc)
|
|
|
a83cc2 |
{
|
|
|
a83cc2 |
- VirtMachineClass *vmc = VIRT_MACHINE_CLASS(OBJECT_CLASS(mc));
|
|
|
a83cc2 |
-
|
|
|
a83cc2 |
- rhel840_virt_options(mc);
|
|
|
a83cc2 |
- compat_props_add(mc->compat_props, hw_compat_rhel_8_3, hw_compat_rhel_8_3_len);
|
|
|
a83cc2 |
- vmc->no_kvm_steal_time = true;
|
|
|
a83cc2 |
-}
|
|
|
a83cc2 |
-DEFINE_RHEL_MACHINE(8, 3, 0)
|
|
|
a83cc2 |
-
|
|
|
a83cc2 |
-static void rhel820_virt_options(MachineClass *mc)
|
|
|
a83cc2 |
-{
|
|
|
a83cc2 |
- rhel830_virt_options(mc);
|
|
|
a83cc2 |
- compat_props_add(mc->compat_props, hw_compat_rhel_8_2, hw_compat_rhel_8_2_len);
|
|
|
a83cc2 |
- mc->numa_mem_supported = true;
|
|
|
a83cc2 |
- mc->auto_enable_numa_with_memdev = false;
|
|
|
a83cc2 |
+ rhel900_virt_options(mc);
|
|
|
a83cc2 |
}
|
|
|
a83cc2 |
-DEFINE_RHEL_MACHINE(8, 2, 0)
|
|
|
a83cc2 |
+DEFINE_RHEL_MACHINE(8, 5, 0)
|
|
|
a83cc2 |
--
|
|
|
a83cc2 |
2.27.0
|
|
|
a83cc2 |
|