All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-9.0] docs/about: Mark the iaspc machine type as deprecated
@ 2024-03-26 12:51 Igor Mammedov
  2024-03-26 13:03 ` Ani Sinha
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Igor Mammedov @ 2024-03-26 12:51 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, devel, richard.henderson, mst, thuth, qemu-trivial

ISAPC machine was introduced 25 years ago and it's a lot of time since
such machine was around with real ISA only PC hardware practically defunct.
Also it's slowly bit-rots (for example: I was able to boot RHEL6 on RHEL9 host
in only TCG mode, while in KVM mode it hung in the middle of boot)

Rather than spending time on fixing 'the oldest' no longer tested machine type,
deprecate it so we can clean up QEMU code from legacy fixups and hopefully
make it easier to follow.

Folks who have to use ancient guest that requires ISAPC can still
use older QEMU to play with it.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
---
 docs/about/deprecated.rst | 7 +++++++
 hw/i386/pc_piix.c         | 1 +
 2 files changed, 8 insertions(+)

diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
index 7b548519b5..5708296991 100644
--- a/docs/about/deprecated.rst
+++ b/docs/about/deprecated.rst
@@ -226,6 +226,13 @@ These old machine types are quite neglected nowadays and thus might have
 various pitfalls with regards to live migration. Use a newer machine type
 instead.
 
+``isapc`` (since 9.0)
+'''''''''''''''''''''''''''''''''''''''''''''''''''''
+
+These old machine type are quite neglected nowadays and thus might have
+various pitfalls with regards to live migration. Use a newer machine type
+instead.
+
 Nios II ``10m50-ghrd`` and ``nios2-generic-nommu`` machines (since 8.2)
 '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
 
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 18ba076609..96f72384dd 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -921,6 +921,7 @@ static void isapc_machine_options(MachineClass *m)
     m->default_nic = "ne2k_isa";
     m->default_cpu_type = X86_CPU_TYPE_NAME("486");
     m->no_parallel = !module_object_class_by_name(TYPE_ISA_PARALLEL);
+    m->deprecation_reason = "old and unattended - use a newer version instead";
 }
 
 DEFINE_PC_MACHINE(isapc, "isapc", pc_init_isa,
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2024-04-02  8:54 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-26 12:51 [PATCH for-9.0] docs/about: Mark the iaspc machine type as deprecated Igor Mammedov
2024-03-26 13:03 ` Ani Sinha
2024-03-26 13:08 ` Thomas Huth
2024-03-26 13:29   ` Philippe Mathieu-Daudé
2024-03-26 13:37     ` Thomas Huth
2024-03-26 14:00       ` Philippe Mathieu-Daudé
2024-03-26 16:16     ` Igor Mammedov
2024-03-27 10:49       ` Daniel P. Berrangé
2024-03-27 13:09         ` Igor Mammedov
2024-03-27 13:14           ` Thomas Huth
2024-03-27 13:22           ` Daniel P. Berrangé
2024-03-27 13:27             ` Peter Maydell
2024-03-27 13:29               ` Daniel P. Berrangé
2024-03-27 13:26           ` Philippe Mathieu-Daudé
2024-03-27 20:39           ` Paolo Bonzini
2024-03-27 13:51     ` Daniel P. Berrangé
2024-03-27 20:47     ` Bernhard Beschow
2024-03-26 13:30 ` Mark Cave-Ayland
2024-03-26 16:20   ` Igor Mammedov
2024-03-26 16:22     ` Igor Mammedov
2024-03-27  7:09   ` Gerd Hoffmann
2024-03-28 14:09     ` Mark Cave-Ayland
2024-03-29 10:19       ` Bernhard Beschow
2024-04-02  8:53         ` Gerd Hoffmann

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.