46 lines
1.4 KiB
Diff
46 lines
1.4 KiB
Diff
|
From 704596b05f7dcdfa98857b71fed295d0005d4acc Mon Sep 17 00:00:00 2001
|
||
|
From: Sebastian Ott <sebott@redhat.com>
|
||
|
Date: Thu, 22 Aug 2024 17:08:26 +0200
|
||
|
Subject: [PATCH 5/9] arm: create virt machine type for rhel10
|
||
|
|
||
|
RH-Author: Sebastian Ott <sebott@redhat.com>
|
||
|
RH-MergeRequest: 270: RHEL10 machine types
|
||
|
RH-Jira: RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141 RHEL-52318 RHEL-52320
|
||
|
RH-Acked-by: Thomas Huth <thuth@redhat.com>
|
||
|
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
|
||
|
RH-Acked-by: Eric Auger <eric.auger@redhat.com>
|
||
|
RH-Commit: [5/7] cd8f31de4cd189cd1de69e68c84d823e43473e8c (seott1/cos-qemu-kvm)
|
||
|
|
||
|
Create a new default virt machine type for rhel 10.
|
||
|
|
||
|
Signed-off-by: Sebastian Ott <sebott@redhat.com>
|
||
|
---
|
||
|
hw/arm/virt.c | 8 +++++++-
|
||
|
1 file changed, 7 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
|
||
|
index f94be8656c..907c26c635 100644
|
||
|
--- a/hw/arm/virt.c
|
||
|
+++ b/hw/arm/virt.c
|
||
|
@@ -3580,10 +3580,16 @@ static void virt_machine_2_6_options(MachineClass *mc)
|
||
|
DEFINE_VIRT_MACHINE(2, 6)
|
||
|
#endif /* disabled for RHEL */
|
||
|
|
||
|
+static void virt_rhel_machine_10_0_0_options(MachineClass *mc)
|
||
|
+{
|
||
|
+}
|
||
|
+DEFINE_VIRT_MACHINE_AS_LATEST(10, 0, 0)
|
||
|
+
|
||
|
static void virt_rhel_machine_9_6_0_options(MachineClass *mc)
|
||
|
{
|
||
|
+ virt_rhel_machine_10_0_0_options(mc);
|
||
|
}
|
||
|
-DEFINE_VIRT_MACHINE_AS_LATEST(9, 6, 0)
|
||
|
+DEFINE_VIRT_MACHINE(9, 6, 0)
|
||
|
|
||
|
static void virt_rhel_machine_9_4_0_options(MachineClass *mc)
|
||
|
{
|
||
|
--
|
||
|
2.39.3
|
||
|
|