]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x: Add a CONFIG switch to disable legacy CPUs
authorThomas Huth <thuth@redhat.com>
Thu, 13 Jun 2024 14:14:22 +0000 (16:14 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 24 Jun 2024 06:22:30 +0000 (08:22 +0200)
commitd6a7c3f44cf3f60c066dbf087ef79d4b12acc642
treeb9523d6bd051fbd7a1daf7ef3b0803fa31288c5f
parent3f6be80ca138d0c770b6b0709bc6f5acd6ad7476
target/s390x: Add a CONFIG switch to disable legacy CPUs

The oldest model that IBM still supports is the z13. Considering
that each generation can "emulate" the previous two generations
in hardware (via the "IBC" feature of the CPUs), this means that
everything that is older than z114/196 is not an officially supported
CPU model anymore. The Linux kernel still support the z10, so if
we also take this into account, everything older than that can
definitely be considered as a legacy CPU model.

For downstream builds of QEMU, we would like to be able to disable
these legacy CPUs in the build. Thus add a CONFIG switch that can be
used to disable them (and old machine types that use them by default).

Message-Id: <20240614125019.588928-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/s390-virtio-ccw.c
target/s390x/Kconfig
target/s390x/cpu_models.c