From: Thomas Huth <thuth@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Zhao Liu" <zhao1.liu@intel.com>,
"Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>
Subject: [PATCH 1/2] hw/i386: Remove the code of the obsolete pc-q35-4.1 and pc-i440fx-4.1 machines
Date: Fri, 27 Nov 2026 15:40:58 +0100 [thread overview]
Message-ID: <20261127144059.278754-2-thuth@redhat.com> (raw)
In-Reply-To: <20261127144059.278754-1-thuth@redhat.com>
These machines have been disabled already since they are older
than 6 years. Let's clean up the related code now.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
include/hw/i386/pc.h | 3 ---
hw/i386/pc.c | 3 ---
hw/i386/pc_piix.c | 9 ---------
hw/i386/pc_q35.c | 9 ---------
4 files changed, 24 deletions(-)
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index 844ae835784..4aa5b02fe35 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -277,9 +277,6 @@ extern const size_t pc_compat_5_0_len;
extern GlobalProperty pc_compat_4_2[];
extern const size_t pc_compat_4_2_len;
-extern GlobalProperty pc_compat_4_1[];
-extern const size_t pc_compat_4_1_len;
-
#define DEFINE_PC_MACHINE_EXTENDED(suffix, namestr, initfn, optsfn, issecure) \
static void pc_machine_##suffix##_class_init(ObjectClass *oc, \
const void *data) \
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 4737eb471c1..d14a8210641 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -182,9 +182,6 @@ GlobalProperty pc_compat_4_2[] = {
};
const size_t pc_compat_4_2_len = G_N_ELEMENTS(pc_compat_4_2);
-GlobalProperty pc_compat_4_1[] = {};
-const size_t pc_compat_4_1_len = G_N_ELEMENTS(pc_compat_4_1);
-
/*
* @PC_FW_DATA:
* Size of the chunk of memory at the top of RAM for the BIOS ACPI tables
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 446590e4e55..6d04d1c75be 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -622,15 +622,6 @@ static void pc_i440fx_machine_4_2_options(MachineClass *m)
DEFINE_I440FX_MACHINE(4, 2);
-static void pc_i440fx_machine_4_1_options(MachineClass *m)
-{
- pc_i440fx_machine_4_2_options(m);
- compat_props_add(m->compat_props, hw_compat_4_1, hw_compat_4_1_len);
- compat_props_add(m->compat_props, pc_compat_4_1, pc_compat_4_1_len);
-}
-
-DEFINE_I440FX_MACHINE(4, 1);
-
#ifdef CONFIG_XEN
static void xenfv_machine_4_2_options(MachineClass *m)
{
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index c3ce9c56492..e6a6c711f47 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -598,12 +598,3 @@ static void pc_q35_machine_4_2_options(MachineClass *m)
}
DEFINE_Q35_MACHINE(4, 2);
-
-static void pc_q35_machine_4_1_options(MachineClass *m)
-{
- pc_q35_machine_4_2_options(m);
- compat_props_add(m->compat_props, hw_compat_4_1, hw_compat_4_1_len);
- compat_props_add(m->compat_props, pc_compat_4_1, pc_compat_4_1_len);
-}
-
-DEFINE_Q35_MACHINE(4, 1);
--
2.56.1
next prev parent reply other threads:[~2026-11-27 14:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 14:40 [PATCH for-12.0 0/2] Remove code of the obsolete pc-q35-4.1 and pc-i440fx-4.1 machines Thomas Huth
2026-11-27 14:40 ` Thomas Huth [this message]
2026-11-30 15:54 ` [PATCH 1/2] hw/i386: Remove the " Philippe Mathieu-Daudé
2026-11-27 14:40 ` [PATCH 2/2] hw/virtio: Remove hw_compat_4_1[] array and "x-pcie-flr-init" from virtio-pci Thomas Huth
2026-11-30 15:53 ` Philippe Mathieu-Daudé
2026-11-30 17:07 ` [PATCH for-12.0 0/2] Remove code of the obsolete pc-q35-4.1 and pc-i440fx-4.1 machines Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261127144059.278754-2-thuth@redhat.com \
--to=thuth@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@oss.qualcomm.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=zhao1.liu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.