|
|
60061b |
From dc2e9ec1e014950c7918e23a3e9b0096b34a4a92 Mon Sep 17 00:00:00 2001
|
|
|
60061b |
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
|
|
|
60061b |
Date: Wed, 9 Mar 2022 10:31:53 +0000
|
|
|
60061b |
Subject: [PATCH 1/6] Revert "redhat: Add hw_compat_4_2_extra and apply to
|
|
|
60061b |
upstream machines"
|
|
|
60061b |
|
|
|
60061b |
RH-Author: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
60061b |
RH-MergeRequest: 121: x86: Remove upstream compat machines
|
|
|
60061b |
RH-Commit: [1/3] 7a3e416b5a464a2a7892337289443268189baf44
|
|
|
60061b |
RH-Bugzilla: 2061856
|
|
|
60061b |
RH-Acked-by: Stephen Tweedie <None>
|
|
|
60061b |
RH-Acked-by: quintela1 <quintela@redhat.com>
|
|
|
60061b |
RH-Acked-by: Peter Xu <peterx@redhat.com>
|
|
|
60061b |
|
|
|
60061b |
This reverts commit 66882f9a3230246409f3918424aca26add5c034a.
|
|
|
60061b |
We no longer need these compat machines it was added for.
|
|
|
60061b |
|
|
|
60061b |
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
60061b |
---
|
|
|
60061b |
hw/i386/pc.c | 12 ------------
|
|
|
60061b |
hw/i386/pc_piix.c | 6 ------
|
|
|
60061b |
include/hw/i386/pc.h | 3 ---
|
|
|
60061b |
3 files changed, 21 deletions(-)
|
|
|
60061b |
|
|
|
60061b |
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
|
|
|
60061b |
index 4c08a1971c..357257349b 100644
|
|
|
60061b |
--- a/hw/i386/pc.c
|
|
|
60061b |
+++ b/hw/i386/pc.c
|
|
|
60061b |
@@ -670,18 +670,6 @@ GlobalProperty pc_rhel_7_0_compat[] = {
|
|
|
60061b |
};
|
|
|
60061b |
const size_t pc_rhel_7_0_compat_len = G_N_ELEMENTS(pc_rhel_7_0_compat);
|
|
|
60061b |
|
|
|
60061b |
-/*
|
|
|
60061b |
- * RHEL: These properties only apply to the RHEL exported machine types
|
|
|
60061b |
- * pc-4.2/2.11 for the purpose to have a limited upstream machines support
|
|
|
60061b |
- * which can be migrated to RHEL. Let's avoid touching hw_compat_4_2 directly
|
|
|
60061b |
- * so that we can have some isolation against the upstream code.
|
|
|
60061b |
- */
|
|
|
60061b |
-GlobalProperty hw_compat_4_2_extra[] = {
|
|
|
60061b |
- /* By default enlarge the default virtio-net-pci ROM to 512KB. */
|
|
|
60061b |
- { "virtio-net-pci", "romsize", "0x80000" },
|
|
|
60061b |
-};
|
|
|
60061b |
-const size_t hw_compat_4_2_extra_len = G_N_ELEMENTS(hw_compat_4_2_extra);
|
|
|
60061b |
-
|
|
|
60061b |
GSIState *pc_gsi_create(qemu_irq **irqs, bool pci_enabled)
|
|
|
60061b |
{
|
|
|
60061b |
GSIState *s;
|
|
|
60061b |
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
|
|
|
60061b |
index c30057c443..7b7076cbc7 100644
|
|
|
60061b |
--- a/hw/i386/pc_piix.c
|
|
|
60061b |
+++ b/hw/i386/pc_piix.c
|
|
|
60061b |
@@ -531,12 +531,6 @@ static void pc_i440fx_4_2_machine_options(MachineClass *m)
|
|
|
60061b |
* supported by RHEL, even if exported.
|
|
|
60061b |
*/
|
|
|
60061b |
m->deprecation_reason = "Not supported by RHEL";
|
|
|
60061b |
- /*
|
|
|
60061b |
- * RHEL: Specific compat properties to have limited support for upstream
|
|
|
60061b |
- * machines exported.
|
|
|
60061b |
- */
|
|
|
60061b |
- compat_props_add(m->compat_props, hw_compat_4_2_extra,
|
|
|
60061b |
- hw_compat_4_2_extra_len);
|
|
|
60061b |
}
|
|
|
60061b |
|
|
|
60061b |
/* RHEL: Export pc-4.2 */
|
|
|
60061b |
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
|
|
|
60061b |
index 9e8bfb69f8..4a593acb50 100644
|
|
|
60061b |
--- a/include/hw/i386/pc.h
|
|
|
60061b |
+++ b/include/hw/i386/pc.h
|
|
|
60061b |
@@ -325,9 +325,6 @@ extern const size_t pc_rhel_7_1_compat_len;
|
|
|
60061b |
extern GlobalProperty pc_rhel_7_0_compat[];
|
|
|
60061b |
extern const size_t pc_rhel_7_0_compat_len;
|
|
|
60061b |
|
|
|
60061b |
-extern GlobalProperty hw_compat_4_2_extra[];
|
|
|
60061b |
-extern const size_t hw_compat_4_2_extra_len;
|
|
|
60061b |
-
|
|
|
60061b |
/* Helper for setting model-id for CPU models that changed model-id
|
|
|
60061b |
* depending on QEMU versions up to QEMU 2.4.
|
|
|
60061b |
*/
|
|
|
60061b |
--
|
|
|
60061b |
2.27.0
|
|
|
60061b |
|