45 lines
1.3 KiB
Diff
45 lines
1.3 KiB
Diff
|
From 3b9b38339346ebfaf3e8ddf0822eba1cc9e78408 Mon Sep 17 00:00:00 2001
|
||
|
From: Miroslav Rezanina <mrezanin@redhat.com>
|
||
|
Date: Thu, 14 Dec 2023 04:42:01 -0500
|
||
|
Subject: Introduce RHEL 9.4.0 qemu-kvm machine type for aarch64
|
||
|
|
||
|
Jira: https://issues.redhat.com/browse/RHEL-17168
|
||
|
|
||
|
Adding new machine type to support enabling new features.
|
||
|
|
||
|
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
||
|
---
|
||
|
hw/arm/virt.c | 9 ++++++++-
|
||
|
1 file changed, 8 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
|
||
|
index c541efee5e..0b17c94ad7 100644
|
||
|
--- a/hw/arm/virt.c
|
||
|
+++ b/hw/arm/virt.c
|
||
|
@@ -3630,14 +3630,21 @@ static void rhel_machine_init(void)
|
||
|
}
|
||
|
type_init(rhel_machine_init);
|
||
|
|
||
|
+static void rhel940_virt_options(MachineClass *mc)
|
||
|
+{
|
||
|
+}
|
||
|
+DEFINE_RHEL_MACHINE_AS_LATEST(9, 4, 0)
|
||
|
+
|
||
|
static void rhel920_virt_options(MachineClass *mc)
|
||
|
{
|
||
|
+ rhel940_virt_options(mc);
|
||
|
+
|
||
|
compat_props_add(mc->compat_props, arm_rhel_compat, arm_rhel_compat_len);
|
||
|
compat_props_add(mc->compat_props, hw_compat_rhel_9_4, hw_compat_rhel_9_4_len);
|
||
|
compat_props_add(mc->compat_props, hw_compat_rhel_9_3, hw_compat_rhel_9_3_len);
|
||
|
compat_props_add(mc->compat_props, hw_compat_rhel_9_2, hw_compat_rhel_9_2_len);
|
||
|
}
|
||
|
-DEFINE_RHEL_MACHINE_AS_LATEST(9, 2, 0)
|
||
|
+DEFINE_RHEL_MACHINE(9, 2, 0)
|
||
|
|
||
|
static void rhel900_virt_options(MachineClass *mc)
|
||
|
{
|
||
|
--
|
||
|
2.39.3
|
||
|
|