summary refs log tree commit diff stats
path: root/target/ppc/machine.c
diff options
context:
space:
mode:
authorHarsh Prateek Bora <harshpb@linux.ibm.com>2024-10-14 17:57:25 +0530
committerNicholas Piggin <npiggin@gmail.com>2024-11-04 09:10:29 +1000
commit24ee9229fe315609edd4c89beb21d391d9a3d27d (patch)
treea7a5d3a99f167308c95f6c58e8e3ec0bab15da7b /target/ppc/machine.c
parent4ca656075ddb929ca24d2fe804f2f9f1646d09eb (diff)
downloadfocaccia-qemu-24ee9229fe315609edd4c89beb21d391d9a3d27d.tar.gz
focaccia-qemu-24ee9229fe315609edd4c89beb21d391d9a3d27d.zip
ppc/spapr: remove deprecated machine pseries-2.9
Commit 1392617d3576 intended to tag pseries-2.1 - 2.11 machines as
deprecated with reasons mentioned in its commit log.
Removing pseries-2.9 specific code with this patch for now.

While at it, also remove the pre-2.10 migration hacks which now become
obsolete.

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>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'target/ppc/machine.c')
-rw-r--r--target/ppc/machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/machine.c b/target/ppc/machine.c
index 21bed7c7c8..47495b68b1 100644
--- a/target/ppc/machine.c
+++ b/target/ppc/machine.c
@@ -630,7 +630,7 @@ static bool compat_needed(void *opaque)
     PowerPCCPU *cpu = opaque;
 
     assert(!(cpu->compat_pvr && !cpu->vhyp));
-    return !cpu->pre_2_10_migration && cpu->compat_pvr != 0;
+    return cpu->compat_pvr != 0;
 }
 
 static const VMStateDescription vmstate_compat = {