56d8e9c672
- kvm-x86-create-new-pc-q35-machine-type-for-rhel-9.6.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-arm-create-new-virt-machine-type-for-rhel-9.6.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-x86-create-pc-i440fx-machine-type-for-rhel10.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-x86-create-pc-q35-machine-type-for-rhel10.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-arm-create-virt-machine-type-for-rhel10.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-x86-remove-deprecated-rhel-machine-types.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-remove-stale-compat-definitions.patch [RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141] - kvm-RH-Author-Shaoqin-Huang-shahuang-redhat.com.patch [RHEL-38374] - kvm-qemu-guest-agent-Update-the-logfile-path-of-qga-fsfr.patch [RHEL-57028] - Resolves: RHEL-29002 (Remove the existing deprecated machine types in RHEL-10) - Resolves: RHEL-29003 (Deprecate RHEL-9 machine types in RHEL-10) - Resolves: RHEL-35587 (Create a pc-i440fx-rhel10.0 machine type) - Resolves: RHEL-38411 ([Fujitsu 10.0 FEAT]: qemu-kvm: Continue to support i440fx for RHEL10) - Resolves: RHEL-45141 (Introduce virt-rhel10.0 arm-virt machine type [aarch64]) - Resolves: RHEL-38374 (aarch64 SMBIOS 'Manufacturer' and 'Product Name' differ from x86 ones [rhel-10]) - Resolves: RHEL-57028 (fsfreeze hooks break on the systems first restorecon [rhel-10])
60 lines
2.1 KiB
Diff
60 lines
2.1 KiB
Diff
From 16bd67e1b3706f2e20bda52a5f8ad42742a51f55 Mon Sep 17 00:00:00 2001
|
|
From: Sebastian Ott <sebott@redhat.com>
|
|
Date: Thu, 22 Aug 2024 17:21:52 +0200
|
|
Subject: [PATCH 4/9] x86: create pc-q35 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: [4/7] 86639ee63c884fb97e1f6bc7e24b2773ac2b4a7a (seott1/cos-qemu-kvm)
|
|
|
|
Create a new machine type pc-q35-rhel10.0.0 with alias q35.
|
|
|
|
Signed-off-by: Sebastian Ott <sebott@redhat.com>
|
|
---
|
|
hw/i386/pc_q35.c | 14 ++++++++++++--
|
|
1 file changed, 12 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
|
|
index 6ee032e91e..4ad4ad79a4 100644
|
|
--- a/hw/i386/pc_q35.c
|
|
+++ b/hw/i386/pc_q35.c
|
|
@@ -672,11 +672,22 @@ DEFINE_Q35_MACHINE(2, 4);
|
|
|
|
/* Red Hat Enterprise Linux machine types */
|
|
|
|
-static void pc_q35_rhel_machine_9_6_0_options(MachineClass *m)
|
|
+static void pc_q35_rhel_machine_10_0_0_options(MachineClass *m)
|
|
{
|
|
PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
|
|
pc_q35_machine_options(m);
|
|
+ m->desc = "RHEL-10.0.0 PC (Q35 + ICH9, 2009)";
|
|
+ pcmc->smbios_stream_product = "RHEL";
|
|
+ pcmc->smbios_stream_version = "10.0.0";
|
|
+}
|
|
+DEFINE_Q35_MACHINE_BUGFIX(10, 0, 0);
|
|
+
|
|
+static void pc_q35_rhel_machine_9_6_0_options(MachineClass *m)
|
|
+{
|
|
+ PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
|
|
+ pc_q35_rhel_machine_10_0_0_options(m);
|
|
m->desc = "RHEL-9.6.0 PC (Q35 + ICH9, 2009)";
|
|
+ m->alias = NULL;
|
|
pcmc->smbios_stream_product = "RHEL";
|
|
pcmc->smbios_stream_version = "9.6.0";
|
|
}
|
|
@@ -688,7 +699,6 @@ static void pc_q35_rhel_machine_9_4_0_options(MachineClass *m)
|
|
PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
|
|
pc_q35_rhel_machine_9_6_0_options(m);
|
|
m->desc = "RHEL-9.4.0 PC (Q35 + ICH9, 2009)";
|
|
- m->alias = NULL;
|
|
pcmc->smbios_stream_product = "RHEL";
|
|
pcmc->smbios_stream_version = "9.4.0";
|
|
|
|
--
|
|
2.39.3
|
|
|