qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Harsh Prateek Bora <harshpb@linux.ibm.com>
To: qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Cc: npiggin@gmail.com, danielhb413@gmail.com, clg@kaod.org
Subject: [PATCH v4 01/13] ppc/spapr: remove deprecated machine pseries-2.1
Date: Mon, 14 Oct 2024 17:57:17 +0530	[thread overview]
Message-ID: <20241014122729.1136809-2-harshpb@linux.ibm.com> (raw)
In-Reply-To: <20241014122729.1136809-1-harshpb@linux.ibm.com>

Commit 1392617d3576 intended to tag pseries-2.1 - 2.11 machines as
deprecated with reasons mentioned in its commit log.
Removing pseries-2.1 specific code with this patch for now.

Suggested-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
---
 include/hw/boards.h |  3 ---
 hw/core/machine.c   | 11 -----------
 hw/ppc/spapr.c      | 11 -----------
 3 files changed, 25 deletions(-)

diff --git a/include/hw/boards.h b/include/hw/boards.h
index 5966069baa..44d19e1ffc 100644
--- a/include/hw/boards.h
+++ b/include/hw/boards.h
@@ -828,7 +828,4 @@ extern const size_t hw_compat_2_3_len;
 extern GlobalProperty hw_compat_2_2[];
 extern const size_t hw_compat_2_2_len;
 
-extern GlobalProperty hw_compat_2_1[];
-extern const size_t hw_compat_2_1_len;
-
 #endif
diff --git a/hw/core/machine.c b/hw/core/machine.c
index adaba17eba..a41d1dbe26 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -297,17 +297,6 @@ const size_t hw_compat_2_3_len = G_N_ELEMENTS(hw_compat_2_3);
 GlobalProperty hw_compat_2_2[] = {};
 const size_t hw_compat_2_2_len = G_N_ELEMENTS(hw_compat_2_2);
 
-GlobalProperty hw_compat_2_1[] = {
-    { "intel-hda", "old_msi_addr", "on" },
-    { "VGA", "qemu-extended-regs", "off" },
-    { "secondary-vga", "qemu-extended-regs", "off" },
-    { "virtio-scsi-pci", "any_layout", "off" },
-    { "usb-mouse", "usb_version", "1" },
-    { "usb-kbd", "usb_version", "1" },
-    { "virtio-pci", "virtio-pci-bus-master-bug-migration", "on" },
-};
-const size_t hw_compat_2_1_len = G_N_ELEMENTS(hw_compat_2_1);
-
 MachineState *current_machine;
 
 static char *machine_get_kernel(Object *obj, Error **errp)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 2c10a70a48..e9518ff8b3 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -5381,17 +5381,6 @@ static void spapr_machine_2_2_class_options(MachineClass *mc)
 }
 DEFINE_SPAPR_MACHINE(2, 2);
 
-/*
- * pseries-2.1
- */
-
-static void spapr_machine_2_1_class_options(MachineClass *mc)
-{
-    spapr_machine_2_2_class_options(mc);
-    compat_props_add(mc->compat_props, hw_compat_2_1, hw_compat_2_1_len);
-}
-DEFINE_SPAPR_MACHINE(2, 1);
-
 static void spapr_machine_register_types(void)
 {
     type_register_static(&spapr_machine_info);
-- 
2.45.2



  reply	other threads:[~2024-10-14 12:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-14 12:27 [PATCH v4 00/13] ppc/spapr: remove deprecated machines specific code Harsh Prateek Bora
2024-10-14 12:27 ` Harsh Prateek Bora [this message]
2024-10-14 12:27 ` [PATCH v4 02/13] ppc/spapr: remove deprecated machine pseries-2.2 Harsh Prateek Bora
2024-10-14 12:27 ` [PATCH v4 03/13] ppc/spapr: remove deprecated machine pseries-2.3 Harsh Prateek Bora
2024-10-14 12:27 ` [PATCH v4 04/13] ppc/spapr: remove deprecated machine pseries-2.4 Harsh Prateek Bora
2024-10-14 12:27 ` [PATCH v4 05/13] ppc/spapr: remove deprecated machine pseries-2.5 Harsh Prateek Bora
2024-10-14 12:27 ` [PATCH v4 06/13] ppc/spapr: remove deprecated machine pseries-2.6 Harsh Prateek Bora
2024-10-14 12:27 ` [PATCH v4 07/13] ppc/spapr: remove deprecated machine pseries-2.7 Harsh Prateek Bora
2024-10-14 12:27 ` [PATCH v4 08/13] ppc/spapr: remove deprecated machine pseries-2.8 Harsh Prateek Bora
2024-10-14 12:27 ` [PATCH v4 09/13] ppc/spapr: remove deprecated machine pseries-2.9 Harsh Prateek Bora
2024-10-14 12:27 ` [PATCH v4 10/13] ppc/spapr: remove deprecated machine pseries-2.10 Harsh Prateek Bora
2024-10-14 12:27 ` [PATCH v4 11/13] ppc/spapr: remove deprecated machine pseries-2.11 Harsh Prateek Bora
2024-10-14 12:27 ` [PATCH v4 12/13] ppc/spapr: remove deprecated machine pseries-2.12-sxxm Harsh Prateek Bora
2024-10-15  7:30   ` Cédric Le Goater
2024-10-14 12:27 ` [PATCH v4 13/13] ppc/spapr: remove deprecated machine pseries-2.12 Harsh Prateek Bora
2024-10-15  7:31   ` Cédric Le Goater

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=20241014122729.1136809-2-harshpb@linux.ibm.com \
    --to=harshpb@linux.ibm.com \
    --cc=clg@kaod.org \
    --cc=danielhb413@gmail.com \
    --cc=npiggin@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).