|
|
28f2e1 |
From 7bd99eebadfdbea6a76585b526e7cab1ee8b1fde Mon Sep 17 00:00:00 2001
|
|
|
28f2e1 |
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
|
|
|
28f2e1 |
Date: Tue, 23 Nov 2021 18:07:49 +0000
|
|
|
28f2e1 |
Subject: x86/rhel machine types: Wire compat into q35 and i440fx
|
|
|
28f2e1 |
|
|
|
28f2e1 |
RH-Author: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
28f2e1 |
RH-MergeRequest: 77: 8.6/6.2 mt fixes
|
|
|
28f2e1 |
RH-Commit: [23/23] fc3861aeccc943b434231193ef45ffbc0b3cf6c6
|
|
|
28f2e1 |
RH-Bugzilla: 2026443
|
|
|
28f2e1 |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
28f2e1 |
|
|
|
28f2e1 |
Wire the pc_rhel_8_5 compat data into both piix and q35
|
|
|
28f2e1 |
to keep the existing machine types compatible.
|
|
|
28f2e1 |
|
|
|
28f2e1 |
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
28f2e1 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
28f2e1 |
---
|
|
|
28f2e1 |
hw/i386/pc_piix.c | 4 ++++
|
|
|
28f2e1 |
hw/i386/pc_q35.c | 4 ++++
|
|
|
28f2e1 |
2 files changed, 8 insertions(+)
|
|
|
28f2e1 |
|
|
|
28f2e1 |
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
|
|
|
28f2e1 |
index 2885edffe9..37fab00733 100644
|
|
|
28f2e1 |
--- a/hw/i386/pc_piix.c
|
|
|
28f2e1 |
+++ b/hw/i386/pc_piix.c
|
|
|
28f2e1 |
@@ -1040,6 +1040,10 @@ static void pc_machine_rhel760_options(MachineClass *m)
|
|
|
28f2e1 |
pcmc->kvmclock_create_always = false;
|
|
|
28f2e1 |
/* From pc_i440fx_5_1_machine_options() */
|
|
|
28f2e1 |
pcmc->pci_root_uid = 1;
|
|
|
28f2e1 |
+ compat_props_add(m->compat_props, hw_compat_rhel_8_5,
|
|
|
28f2e1 |
+ hw_compat_rhel_8_5_len);
|
|
|
28f2e1 |
+ compat_props_add(m->compat_props, pc_rhel_8_5_compat,
|
|
|
28f2e1 |
+ pc_rhel_8_5_compat_len);
|
|
|
28f2e1 |
compat_props_add(m->compat_props, hw_compat_rhel_8_4,
|
|
|
28f2e1 |
hw_compat_rhel_8_4_len);
|
|
|
28f2e1 |
compat_props_add(m->compat_props, pc_rhel_8_4_compat,
|
|
|
28f2e1 |
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
|
|
|
28f2e1 |
index c67418b6a9..78876e1101 100644
|
|
|
28f2e1 |
--- a/hw/i386/pc_q35.c
|
|
|
28f2e1 |
+++ b/hw/i386/pc_q35.c
|
|
|
28f2e1 |
@@ -658,6 +658,10 @@ static void pc_q35_machine_rhel850_options(MachineClass *m)
|
|
|
28f2e1 |
m->desc = "RHEL-8.5.0 PC (Q35 + ICH9, 2009)";
|
|
|
28f2e1 |
pcmc->smbios_stream_product = "RHEL-AV";
|
|
|
28f2e1 |
pcmc->smbios_stream_version = "8.5.0";
|
|
|
28f2e1 |
+ compat_props_add(m->compat_props, hw_compat_rhel_8_5,
|
|
|
28f2e1 |
+ hw_compat_rhel_8_5_len);
|
|
|
28f2e1 |
+ compat_props_add(m->compat_props, pc_rhel_8_5_compat,
|
|
|
28f2e1 |
+ pc_rhel_8_5_compat_len);
|
|
|
28f2e1 |
}
|
|
|
28f2e1 |
|
|
|
28f2e1 |
DEFINE_PC_MACHINE(q35_rhel850, "pc-q35-rhel8.5.0", pc_q35_init_rhel850,
|
|
|
28f2e1 |
--
|
|
|
28f2e1 |
2.27.0
|
|
|
28f2e1 |
|